path: root/cmds-filesystem.c
diff options
authorGui Hecheng <>2014-04-01 18:01:10 +0800
committerDavid Sterba <>2014-08-22 14:39:34 +0200
commit3a3e6095412fc21843e43284d1b5ee71ff136d24 (patch)
treee707ad21f22fab2044c043e21d3ee4ee75d06191 /cmds-filesystem.c
parentf6a290686ed62704a1ce571d58a9e1715abe1eb5 (diff)
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 <> Signed-off-by: David Sterba <>
Diffstat (limited to 'cmds-filesystem.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 306f7154..888e3ece 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -924,10 +924,11 @@ static int cmd_defrag(int argc, char **argv)
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",
"If 'max' is passed, the filesystem will occupy all available space",
"on the device 'devid'.",
+ "[kK] means KiB, which denotes 1KiB = 1024B, 1MiB = 1024KiB, etc.",