]> err.no Git - util-linux/commit
fdisk: don't check alignment_offset against geometry
authorKarel Zak <kzak@redhat.com>
Mon, 8 Feb 2010 16:45:42 +0000 (17:45 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Feb 2010 08:58:57 +0000 (09:58 +0100)
commitf8798c848125a412593d600a48854bee04d65a8e
treef0dc735576668d109c309d18cca9ae0d52836552
parent8c9cd53708c0aca63d9a8f507cb2eddb0478bcc7
fdisk: don't check alignment_offset against geometry

The alignment_offset is compensation for DOS compatible partitioning.

It usually matches with disk geometry (e.g. 63 sectors), but the
offset is also exported from phy.disks to RAIDs there the geometry
don't match with the offset. So.. don't print unnecessary warning.

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