]> err.no Git - util-linux/commit
fdisk: align end of partition when defined by +size{K,M,G}
authorKarel Zak <kzak@redhat.com>
Wed, 4 Nov 2009 13:30:31 +0000 (14:30 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Nov 2009 10:25:10 +0000 (11:25 +0100)
commitb7e76f8ef198731ddb832bae3734d0d4bc5712ca
tree6a0681f50ad74b71535945969e8bc7de9abc68b2
parent8e23f2d20f7dd21a318c070b14b45075c8170d4f
fdisk: align end of partition when defined by +size{K,M,G}

It's better to have disks without gaps between partitions, so it's
better to align ends of partitions.

Note, we don't care about end of partitions when the last sector has
been explicitly requested by user.

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