]> err.no Git - util-linux/commit
fdisk: use 1MiB offset and grain always when possible
authorKarel Zak <kzak@redhat.com>
Mon, 15 Feb 2010 14:55:22 +0000 (15:55 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Feb 2010 08:58:58 +0000 (09:58 +0100)
commit3bceed942a0bd982c7f49cf721a12b123d6de87f
treef00ebd75240f73738ac041bdea784f205728d2e1
parent293ee0f0231e3a58dbb30aa846eccb161f093717
fdisk: use 1MiB offset and grain always when possible

It would be nice to minimize dependence between the disk layout and
disk topology. We have to follow disk topology for alignment_offset
and huge (> 1MiB) I/O sizes only. For all others disks we can use 1MiB
grain and 1MiB offset.

Reported-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/fdisk.c