]> err.no Git - util-linux/commit
cfdisk: don't use size of device based on cylinders
authorKarel Zak <kzak@redhat.com>
Mon, 6 Sep 2010 11:30:48 +0000 (13:30 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 6 Sep 2010 11:30:48 +0000 (13:30 +0200)
commit73356e0553bd9ac00f556891a4798064c0ee6849
tree217cb3afeae90681b3f6752c4b5ea7f150e5fb55
parent9a30c6ef921245534f93586603cca3ee1c37d7a0
cfdisk: don't use size of device based on cylinders

This patch is enough to make cfdisk usable on non-DOS disks where
partitioning is not based on CHS. cfdisk should not print error
messages for such disks.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=630340
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/cfdisk.c