]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: add --protect-boot
authorKarel Zak <kzak@redhat.com>
Mon, 13 Apr 2015 15:24:45 +0000 (17:24 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 13 Apr 2015 15:24:45 +0000 (17:24 +0200)
commitaeb9a30ba4e99bfaf33a0986562766d8480a3e4c
tree64ad6992debbd9a73eaa9f8ff7286a2716a17d1a
parent62656395050fb61c7bb819a699a086e76744f6a8
fdisk: add --protect-boot

Now fdisk erases the begin of the device when create a new disk label, it seems
like disadvantage for some use-cases.

Reported-by: Jean-Loup 'clippix' Bogalho <clippix@lse.epita.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk.8
disk-utils/fdisk.c