From: Eric Sandeen Date: Tue, 1 Mar 2022 18:45:49 +0000 (-0500) Subject: xfs_quota: document unit multipliers used in limit command X-Git-Tag: v5.15.0-rc1~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3cd200ffb3d19649c1f7046319b165441d496c34;p=thirdparty%2Fxfsprogs-dev.git xfs_quota: document unit multipliers used in limit command 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 Reviewed-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/man/man8/xfs_quota.8 b/man/man8/xfs_quota.8 index 59e603f08..b23f870f4 100644 --- a/man/man8/xfs_quota.8 +++ b/man/man8/xfs_quota.8 @@ -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