]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: clean up sun geometry stuff
authorKarel Zak <kzak@redhat.com>
Wed, 22 May 2013 12:41:58 +0000 (14:41 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Sep 2013 14:46:56 +0000 (16:46 +0200)
commit4170ae9cbd3ad54c9c7427212eaae6fdb030b57a
tree1d84c5faa0fafbe28b29d9b16975592fb726b207
parent1054699ccd358a42c4869e523b4835151f4c4804
libfdisk: clean up sun geometry stuff

 - move fdisk_sun_set_* functions to public API file
 - remove extra function to set ncyl -- this has to follow regular
   geo.cylinders
 - set alternative cylinders to zero (to be compatible with parted)
 - it seems that the previous code completely ignored relation between
   geo.cylinders, sunlabel->acyl and sunlabel->ncyl.

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisks/fdisk.c
libfdisk/src/fdiskP.h
libfdisk/src/libfdisk.h
libfdisk/src/sun.c