]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: use context geometry in SGI and SUN
authorKarel Zak <kzak@redhat.com>
Wed, 25 Sep 2013 13:34:34 +0000 (15:34 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 25 Sep 2013 13:34:34 +0000 (15:34 +0200)
commite5b5a349cd6f5d6cf1b4b084e3ea18e6ec2d3051
tree5a85d23e11ef78de29281e6d0ccdcfb26223b359
parent15c755975bb95186955c5eb254e04e5b3e98fdf2
libfdisk: use context geometry in SGI and SUN

 * don't call HDIO_GETGEO ioctls in the drivers
 * use context geometry (so user can overwrite it by -C/H/S options)
 * use default geometry is ioctl does not return anything

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/sgi.c
libfdisk/src/sun.c