diff options
author | Karel Zak | 2015-01-20 14:10:08 +0100 |
---|---|---|
committer | Karel Zak | 2015-01-20 14:20:47 +0100 |
commit | ce9f568c25cc444a8796c599f2539864ab666d5f (patch) | |
tree | 541e928dd4c1d3e5a05e3decacbfde90cebde21a /disk-utils/sfdisk.8 | |
parent | libfdisk: (docs) fix typo (diff) | |
download | kernel-qcow2-util-linux-ce9f568c25cc444a8796c599f2539864ab666d5f.tar.gz kernel-qcow2-util-linux-ce9f568c25cc444a8796c599f2539864ab666d5f.tar.xz kernel-qcow2-util-linux-ce9f568c25cc444a8796c599f2539864ab666d5f.zip |
libfdisk: accept Start offset in {B,M,G..}iB in sfdisk scripts
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.8')
-rw-r--r-- | disk-utils/sfdisk.8 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8 index 5f9eba48b..bb0ba83dc 100644 --- a/disk-utils/sfdisk.8 +++ b/disk-utils/sfdisk.8 @@ -211,7 +211,9 @@ is given, the default for each field is its previous value. The default value of .I start is the first non-assigned sector aligned according to device I/O limits. -The default start offset for the first partition is 1 MiB. +The default start offset for the first partition is 1 MiB. The offset may +be may be followed by the multiplicative suffixes (KiB, MiB, GiB, TiB, PiB, +EiB, ZiB and YiB) then the number is interpreted as offset in bytes. .sp The default value of .I size @@ -275,7 +277,9 @@ The currently supported fields are: .TP .BI start= number The first non-assigned sector aligned according to device I/O limits. The default -start offset for the first partition is 1 MiB. +start offset for the first partition is 1 MiB. The offset may be followed by +the multiplicative suffixes (KiB, MiB, GiB, TiB, PiB, EiB, ZiB and YiB) then +the number is interpreted as offset in bytes. .TP .BI size= number Specify the partition size in sectors. The number may be followed by the multiplicative |