path: root/cmds-quota.c
diff options
authorKoen De Wit <>2013-03-27 14:54:12 +0100
committerDavid Sterba <>2013-04-23 18:56:21 +0200
commitc38d9ca6f20787b7710db8ee4763e47e981a02b6 (patch)
tree5e2fe63ab1bd98daaa46d6e16a098833c79dee31 /cmds-quota.c
parentd93cad2677613b0a31315e428ead5339612a4b1c (diff)
btrfs-progs: add quota-related info to usage messages
Extending usage messages with some info on the quota functionality: - The -i option of "subvol create" and "subvol snapshot" was not documented - The -c option of "qgroup limit" is the default option - The "qouta rescan" command is not yet implemented, while it should be executed after enabling quota on a non-empty filesystem. Signed-off-by: Koen De Wit <>
Diffstat (limited to 'cmds-quota.c')
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds-quota.c b/cmds-quota.c
index 8481514c..71cd9f1e 100644
--- a/cmds-quota.c
+++ b/cmds-quota.c
@@ -64,6 +64,9 @@ int quota_ctl(int cmd, int argc, char **argv)
static const char * const cmd_quota_enable_usage[] = {
"btrfs quota enable <path>",
"Enable subvolume quota support for a filesystem.",
+ "Any data already present on the filesystem will not count towards",
+ "the space usage numbers. It is recommended to enable quota for a",
+ "filesystem before writing any data to it.",
@@ -92,6 +95,7 @@ static int cmd_quota_disable(int argc, char **argv)
static const char * const cmd_quota_rescan_usage[] = {
"btrfs quota rescan <path>",
"Rescan the subvolume for a changed quota setting.",
+ "Not yet implemented.",