diff options
| author | Karel Zak <kzak@redhat.com> | 2015-01-20 14:10:08 +0100 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2015-01-20 14:20:47 +0100 |
| commit | ce9f568c25cc444a8796c599f2539864ab666d5f (patch) | |
| tree | 541e928dd4c1d3e5a05e3decacbfde90cebde21a /disk-utils/sfdisk.c | |
| parent | a473657eacea3a43c4e6de78ba1dd618aa080627 (diff) | |
| download | util-linux-ce9f568c25cc444a8796c599f2539864ab666d5f.tar.gz | |
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.c')
| -rw-r--r-- | disk-utils/sfdisk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index 86c8b669fa..4142181d3e 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -946,8 +946,9 @@ static void command_fdisk_help(void) fputs(_(" <start>, <size>, <typy>, <bootable>\n"), stdout); fputc('\n', stdout); - fputs(_(" <start> begin of the partition in sectors. The default is the first\n" - " free space.\n"), stdout); + fputs(_(" <start> begin of the partition in sectors or bytes if specified\n" + " in format <number>{K,M,G,T,P,E,Z,Y}. The default is\n" + " the first free space.\n"), stdout); fputc('\n', stdout); fputs(_(" <size> size of the partition in sectors if specified in format\n" |
