xfs
[Top] [All Lists]

Re: xfs_quota off/remove

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: xfs_quota off/remove
From: "Michael L. Semon" <mlsemon35@xxxxxxxxx>
Date: Wed, 10 Dec 2014 16:11:32 -0500
Cc: "Meij, Henk" <hmeij@xxxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=A5tNIVe5NnoBVZMngE41db0k75SB7TAzUM+XF/LI1pE=; b=OsiyjBpynrnoShgoxxOlrLgwvhgEz7PRGZYwEqXxatE0Lpp4lA7NiomrLnXR/rfKs5 /IiXmW+KujnBuCUW45ggHhxjPFU00uVhq895a8R3c+5XhoNIokIyl+4hr0MPXjJmxmPQ 4hfSvdivwGnTWcDu2zfER93xDljQCf039K0CX9fj+rrWvPcLaqwM2Sl3Alj3Mc77UIEF JJyK1k6nRaWKhs+JLAh4v7G2uz2TZWsmSSll5j6sG56tHc5Yz5DGhQ2aZaV8B70dBPmA a28PkZV/Cc/6QIzgF79QGqNApg6e7rJIcY3AZUkG1sje0a8/H6GXLGTIBV7gB5djAFKM oCWw==
In-reply-to: <20141210204707.GC24183@dastard>
References: <8688BD11DAC0574AA90295127E9E9F4AC04DD4FF@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <5488ADDD.404@xxxxxxxxx> <20141210204707.GC24183@dastard>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
On 12/10/14 15:47, Dave Chinner wrote:
> On Wed, Dec 10, 2014 at 03:32:29PM -0500, Michael L. Semon wrote:
>> On one hand, the man page for xfs_quota states for "off":  "Permanently
>> switches quota off for the filesystem identified by the current path.
>> Quota can only be switched back on subsequently by unmounting and then
>> mounting again."
> 
> The *only* method for turning on quotas on XFS on is to mount the filesystem
> with the appropriate mount options. You can turn them off in an on-line
> fashion by running the "off" command, but you also need to remove
> the mount options from the next mount, otherwise that turns them
> back on.
> 
> If the word "permanently" is the problem, send a patch for th eman
> page that explains it properly.
> 
> Cheers,
> 
> Dave.

Thanks, Dave.  You, Mark, Eric, and Brian are superior to me at wording.  
But here's my shot at it...

Thanks!

Michael

>From 51a3d00b134b72c095c1d4ec42ec619ddf4388bc Mon Sep 17 00:00:00 2001
From: "Michael L. Semon" <mlsemon35@xxxxxxxxx>
Date: Wed, 10 Dec 2014 15:58:10 -0500
Subject: [PATCH] xfsprogs: clarify wording for xfs_quota off command

The xfs_quota "off" command claims to permanently shut off quotas, but
then reminds the user that they can be turned on again by unmounting
and mounting the filesystem again.  It's the kind of permanent that
is not permanent.  Fix it.

Signed-off-by: Michael L. Semon <mlsemon35@xxxxxxxxx>
---
 man/man8/xfs_quota.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/man8/xfs_quota.8 b/man/man8/xfs_quota.8
index 8cc8ab7..c79627c 100644
--- a/man/man8/xfs_quota.8
+++ b/man/man8/xfs_quota.8
@@ -479,8 +479,8 @@ Disables quota enforcement, while leaving quota accounting 
active. The
 option (verbose) displays the state after the operation has completed.
 .TP
 .BR off " [ " \-gpu " ] [ " \-v " ]"
-Permanently switches quota off for the filesystem identified by the
-current path.
+Stops quota enforcement and accounting for the filesystem identified by the
+current path until the filesystem has been unmounted.
 Quota can only be switched back on subsequently by unmounting and
 then mounting again.
 .TP
-- 
1.8.5.4


<Prev in Thread] Current Thread [Next in Thread>