diff options
author | Karel Zak | 2010-03-30 13:58:16 +0200 |
---|---|---|
committer | Karel Zak | 2010-03-30 14:42:42 +0200 |
commit | 8ab912cfa68bb5b3680516a230b694cf0305a955 (patch) | |
tree | ab25941aabaa8cccbc3907e26fc630d348224400 /misc-utils/blkid.8 | |
parent | lib: add strtosize() function (diff) | |
download | kernel-qcow2-util-linux-8ab912cfa68bb5b3680516a230b694cf0305a955.tar.gz kernel-qcow2-util-linux-8ab912cfa68bb5b3680516a230b694cf0305a955.tar.xz kernel-qcow2-util-linux-8ab912cfa68bb5b3680516a230b694cf0305a955.zip |
blkid: support suffixes for -O <offset> and -S <size>
for example: blkid -p -O 17816085KiB /dev/sda
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/blkid.8')
-rw-r--r-- | misc-utils/blkid.8 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8 index 6990ad8f6..a46b9f471 100644 --- a/misc-utils/blkid.8 +++ b/misc-utils/blkid.8 @@ -63,6 +63,9 @@ has two main forms of operation: either searching for a device with a specific NAME=value pair, or displaying NAME=value pairs for one or more devices. .SH OPTIONS +The \fIsize\fR and \fIoffset\fR arguments may be followed by binary (2^N) +suffixes KiB, MiB, GiB, TiB, PiB and EiB (the "iB" is optional, e.g. "K" has the +same meaning as "KiB") or decimal (10^N) suffixes KB, MB, GB, PB and EB. .TP .BI \-c " cachefile" Read from @@ -146,7 +149,7 @@ and \fB-U\fR options vol_id compatible mode; usable in udev rules .RE .TP -.BI \-O " bytes" +.BI \-O " offset" Probe at the given offset (only useful with \fB-p\fR). .TP .BI \-p @@ -163,7 +166,7 @@ In order to just refresh the cache without showing any tokens, use .B "-s none" with no other options. .TP -.BI \-S " bytes" +.BI \-S " size" Overwrite device/file size (only useful with \fB-p\fR). .TP .BI \-t " NAME" = "value" |