]> 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>
Wed, 29 Apr 2015 10:38:56 +0000 (12:38 +0200)
commit74b5101edf6286417625dd0764e65522c6e57623
treea86cf93a737245b6012dbae7d14c781130df2a52
parent9cc947554334c5422a27a343d0012c7fbe0b9da4
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