mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-25 12:37:55 +00:00
btrfs-progs: update manpage for btrfs resize support size unit t/p/e
btrfs resize now support size unit parse of k/m/g/t/p/e in kernel space, adopt the changes in userspace manpage. Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
f6a290686e
commit
3a3e609541
@ -924,10 +924,11 @@ static int cmd_defrag(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const char * const cmd_resize_usage[] = {
|
static const char * const cmd_resize_usage[] = {
|
||||||
"btrfs filesystem resize [devid:][+/-]<newsize>[gkm]|[devid:]max <path>",
|
"btrfs filesystem resize [devid:][+/-]<newsize>[kKmMgGtTpPeE]|[devid:]max <path>",
|
||||||
"Resize a filesystem",
|
"Resize a filesystem",
|
||||||
"If 'max' is passed, the filesystem will occupy all available space",
|
"If 'max' is passed, the filesystem will occupy all available space",
|
||||||
"on the device 'devid'.",
|
"on the device 'devid'.",
|
||||||
|
"[kK] means KiB, which denotes 1KiB = 1024B, 1MiB = 1024KiB, etc.",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user