summaryrefslogtreecommitdiffstats
path: root/disk-utils
diff options
context:
space:
mode:
authorKarel Zak2007-11-28 15:19:24 +0100
committerKarel Zak2007-11-28 20:55:45 +0100
commit7dcca505f854b81112ce285e51b470e7349796cb (patch)
tree7ec5d80296f6b0499c601b485dd3aa4db72f5f47 /disk-utils
parentswapon: fix typo in usage() (diff)
downloadkernel-qcow2-util-linux-7dcca505f854b81112ce285e51b470e7349796cb.tar.gz
kernel-qcow2-util-linux-7dcca505f854b81112ce285e51b470e7349796cb.tar.xz
kernel-qcow2-util-linux-7dcca505f854b81112ce285e51b470e7349796cb.zip
blockdev: add --getsz to blockdev.8
This patch also marks --getsize as deprecated option. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/blockdev.89
1 files changed, 7 insertions, 2 deletions
diff --git a/disk-utils/blockdev.8 b/disk-utils/blockdev.8
index a95679c4f..567e2e1b0 100644
--- a/disk-utils/blockdev.8
+++ b/disk-utils/blockdev.8
@@ -55,10 +55,15 @@ Set blocksize to
bytes.
.TP
.B \--getsize
-Print device size in sectors.
+Print device size in sectors (BLKGETSIZE). Deprecated in favor of the
+.B \--getsz
+option.
.TP
.B \--getsize64
-Print device size in bytes.
+Print device size in bytes (BLKGETSIZE64)
+.TP
+.B \--getsz
+Get size in 512-byte sectors (BLKGETSIZE64 / 512).
.TP
.BI \--setra " N"
Set readahead to