From owner-freebsd-questions Wed Feb 28 11:45:00 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA06181 for questions-outgoing; Wed, 28 Feb 1996 11:45:00 -0800 (PST) Received: from mpp.minn.net (root@mpp.Minn.Net [204.157.201.242]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA06163 for ; Wed, 28 Feb 1996 11:44:49 -0800 (PST) Received: (from mpp@localhost) by mpp.minn.net (8.7.3/8.6.9) id QAA00256; Tue, 27 Feb 1996 16:54:21 -0600 (CST) Message-Id: <199602272254.QAA00256@mpp.minn.net> Subject: Re: quota grace period To: shubert@orizon.net (Sylvain Hubert) Date: Tue, 27 Feb 1996 16:54:20 -0600 (CST) From: "Mike Pritchard" Cc: questions@freebsd.org In-Reply-To: <313335FB.86E@orizon.net> from "Sylvain Hubert" at Feb 27, 96 11:48:59 am X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Sylvain Hubert wrote: > > Hi! I am trying to put a grace period to a user but > Status: RO > > nothing is changing. This is what I have done: > > The file quota.user was created in the filesystem. > I can set space quota for any user using edquota and everything > is working fine. When I use "edquota -t -u myname" to give a > grace period to my account (or somebody else account), everything > seems to work fine. BUT if I type "repquota -a", the grace period > has not been updated with the new values. If I go into "edquota -t > -u myname" again, the new values are still there (it remember the > values I gave earlier). > > Question: Why does the quota grace period has not change? > > P.S.: I am root when I make these changements. I just did a simple test and it looks like "edquota -t" isn't making the appropriate quotactl call to inform the kernel that the grace period has changed. As a work around, rebooting after running "edquota -t" should be get things right. Note: the grace periods are on a per-file system basis, not a per-user basis. Running "edquota -t -u myname" is exactly the same as running "edquota -t". Edquota ignores the user name in this case. I'm on my way out the door right now, but I'll take a better look at this later. -- Mike Pritchard mpp@minn.net "Go that way. Really fast. If something gets in your way, turn"