diff options
author | Karel Zak <kzak@redhat.com> | 2009-10-22 21:40:27 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-10-22 23:19:25 +0200 |
commit | 4c8e837230bb96dc3c447706d9c3b11e4167ba13 (patch) | |
tree | 2b7938dab8402b295a03c95297077563b1bbc6b7 /lib/canonicalize.c | |
parent | 2a1dfbad1c3da1c98fa35e3175e84229253af387 (diff) | |
download | util-linux-old-4c8e837230bb96dc3c447706d9c3b11e4167ba13.tar.gz |
libblkid: convert GPT partition LBA to 512-byte sectors
The libblkid keeps information about partitions in 512-byte counts.
This patch:
* convert GPT partition LBA to 512-byte sectors
* fix n+1 bug in GPT partition size, because:
"The partition is defined as all the logical blocks **inclusive**
of the StartingLBA and EndingLBA." (UEFI 2.3)
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/canonicalize.c')
0 files changed, 0 insertions, 0 deletions