summaryrefslogtreecommitdiffstats
path: root/partx/addpart.8
diff options
context:
space:
mode:
authorKarel Zak2009-02-26 12:31:07 +0100
committerKarel Zak2009-02-26 15:58:28 +0100
commitfa39bf0f12268a7fe2ad02494a1351bac4d64a66 (patch)
tree6ebb355eec13d3046238808598273de5f2cf9861 /partx/addpart.8
parentblockdev: add note that the StartSec is in 512-byte sectors (diff)
downloadkernel-qcow2-util-linux-fa39bf0f12268a7fe2ad02494a1351bac4d64a66.tar.gz
kernel-qcow2-util-linux-fa39bf0f12268a7fe2ad02494a1351bac4d64a66.tar.xz
kernel-qcow2-util-linux-fa39bf0f12268a7fe2ad02494a1351bac4d64a66.zip
addpart: 512-byte sectors in code, bytes in man-page
The addpart.c code uses 512-byte sectors for partition start and length, but in the addpart.8 man page is "in bytes". The code (and this code is pretty old) is always right... the man page has to be fixed. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/addpart.8')
-rw-r--r--partx/addpart.84
1 files changed, 2 insertions, 2 deletions
diff --git a/partx/addpart.8 b/partx/addpart.8
index 8e17f219a..562c6f037 100644
--- a/partx/addpart.8
+++ b/partx/addpart.8
@@ -23,10 +23,10 @@ Specify the disk device.
Specify the partition number.
.TP
.BI start
-Specify the begin of the partition (in bytes).
+Specify the begin of the partition (in 512-byte sectors).
.TP
.BI length
-Specify the length of the partition (in bytes).
+Specify the length of the partition (in 512-byte sectors).
.SH SEE ALSO
.BR delpart (8),