From 0ada9c13f9b8299ff607b66c37022ce2a3c4444b Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Wed, 9 Jan 2013 17:00:44 +0100 Subject: Recognize units at block limits by setquota MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch allows to specify suffixes at block limits on setquota command line. Binary units K, M, G, T are implemented. Numeric value without suffix is equivatent to kibibytes as before. This is complementary functionality to `quota -s'. Signed-off-by: Petr Písař Signed-off-by: Jan Kara --- setquota.8 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'setquota.8') diff --git a/setquota.8 b/setquota.8 index db9d054..e4511c4 100644 --- a/setquota.8 +++ b/setquota.8 @@ -182,6 +182,13 @@ Go through all filesystems with quota in .B /etc/mtab and perform setting. .PP +.I block-softlimit +and +.I block-hardlimit +are interpreted as multiples of kibibyte (1024 bytes) blocks by default. +Symbols K, M, G, and T can be appended to numeric value to express kibibytes, +mebibytes, gibibytes, and tebibytes. +.PP To disable a quota, set the corresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem. .PP -- cgit v1.2.3