From ce9f568c25cc444a8796c599f2539864ab666d5f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 20 Jan 2015 14:10:08 +0100 Subject: libfdisk: accept Start offset in {B,M,G..}iB in sfdisk scripts Signed-off-by: Karel Zak --- disk-utils/sfdisk.8 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'disk-utils/sfdisk.8') 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 -- cgit v1.2.3-55-g7522