]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_quota: document unit multipliers used in limit command
authorEric Sandeen <sandeen@redhat.com>
Tue, 1 Mar 2022 18:45:49 +0000 (13:45 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 1 Mar 2022 18:45:49 +0000 (13:45 -0500)
The units used to set limits are never specified in the xfs_quota
man page, and in fact for block limits, the standard k/m/g/...
units are accepted. Document all of this.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
man/man8/xfs_quota.8

index 59e603f089557c49de792b229e12a09b8d824357..b23f870f4a62a7c780b567a5867f84b586651d19 100644 (file)
@@ -446,7 +446,14 @@ option reports state on all filesystems and not just the current path.
 .I name
 .br
 Set quota block limits (bhard/bsoft), inode count limits (ihard/isoft)
-and/or realtime block limits (rtbhard/rtbsoft). The
+and/or realtime block limits (rtbhard/rtbsoft) to N, where N is a
+number representing bytes or inodes.
+For block limits, a number with a s/b/k/m/g/t/p/e multiplication suffix
+as described in
+.BR mkfs.xfs (8)
+is also accepted.
+For inode limits, no suffixes are allowed.
+The
 .B \-d
 option (defaults) can be used to set the default value
 that will be used, otherwise a specific