]> err.no Git - util-linux/commit
fdisk: cleanup full disk detection code
authorKarel Zak <kzak@redhat.com>
Wed, 30 May 2007 15:57:30 +0000 (17:57 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 31 May 2007 13:02:13 +0000 (15:02 +0200)
commit121dba8508d67a17623329d4be5f8522757cca79
tree2d4c3ea62124fa137f6c2b61ad4cc831973db931
parentbf8df99191b726332b5c2f361cac27fe2fa85df8
fdisk: cleanup full disk detection code

The full disk (e.g. /dev/hda) detection code is duplicated on two places and
the code doesn't work correctly with devices which don't support HDIO_GETGEO.

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/common.h
fdisk/disksize.c
fdisk/fdisk.c
fdisk/sfdisk.c