]> 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, 9 Feb 2010 09:27:34 +0000 (10:27 +0100)
commit2b9e638a0f2bd869e33ecdadab442c0a1591ecb0
treeaa43b6c4485740e9b2fb20a720e21071b50cde9e
parent88923b088948446286290651abaca31464f884a8
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