aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-quota.c
diff options
context:
space:
mode:
authorKoen De Wit <koen.de.wit@oracle.com>2013-03-27 14:54:12 +0100
committerDavid Sterba <dsterba@suse.cz>2013-04-23 18:56:21 +0200
commitc38d9ca6f20787b7710db8ee4763e47e981a02b6 (patch)
tree5e2fe63ab1bd98daaa46d6e16a098833c79dee31 /cmds-quota.c
parentd93cad2677613b0a31315e428ead5339612a4b1c (diff)
downloadbtrfs-progs-c38d9ca6f20787b7710db8ee4763e47e981a02b6.tar.gz
btrfs-progs-c38d9ca6f20787b7710db8ee4763e47e981a02b6.tar.xz
btrfs-progs-c38d9ca6f20787b7710db8ee4763e47e981a02b6.zip
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 <koen.de.wit@oracle.com>
Diffstat (limited to 'cmds-quota.c')
-rw-r--r--cmds-quota.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds-quota.c b/cmds-quota.c
index 8481514..71cd9f1 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.",
NULL
};
@@ -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.",
NULL
};