From 3cd200ffb3d19649c1f7046319b165441d496c34 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Tue, 1 Mar 2022 13:45:49 -0500 Subject: [PATCH] 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 --- man/man8/xfs_quota.8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- 2.47.3