]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: accept empty partitions from dump
authorKarel Zak <kzak@redhat.com>
Thu, 16 Apr 2015 15:40:28 +0000 (17:40 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 16 Apr 2015 15:51:18 +0000 (17:51 +0200)
commit2928068a3ced58023c4e80f2b96b8b636d10b720
tree5bcc588ead87a7e9cb115e760da52957913617b5
parent1d2dfb9c30e3a1d788e7ec4a5a6b3ad5a3c2eb57
sfdisk: accept empty partitions from dump

Old sfdisk uses:
  dev/sdc2 : start=        0, size=        0, Id= 0

for undefined MBR partitions. Let's follow this behaviour.

Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.c