]> 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>
Mon, 15 Feb 2010 15:08:02 +0000 (16:08 +0100)
commit9b15ea8048110dcfea8fff5e1acf5321fb737f51
treed1241e07c742bcb4a210304fcbcabebfdbef15eb
parent78498b7b90cfae7d45912a3c3f80cfca57df95ec
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