From owner-freebsd-questions Tue Jan 30 01:05:39 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA19624 for questions-outgoing; Tue, 30 Jan 1996 01:05:39 -0800 (PST) Received: from sasami.jurai.net (root@sasami.jurai.net [205.218.122.51]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA19603 for ; Tue, 30 Jan 1996 01:05:21 -0800 (PST) Received: (from winter@localhost) by sasami.jurai.net (8.6.12/8.6.9) id DAA11015; Tue, 30 Jan 1996 03:05:13 -0600 Date: Tue, 30 Jan 1996 03:05:13 -0600 (CST) From: "Matthew N. Dodd" X-Sender: winter@sasami To: Steve Prentice cc: freebsd-questions@FreeBSD.ORG Subject: Re: Quotas In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG Precedence: bulk On Mon, 29 Jan 1996, Steve Prentice wrote: > I need a little help setting up quotas. I thought I have went through > every little thing, but nothing works. I have specified "userquota" and > "groupquota" in fstab for my /dev/sd0g (/home). Here is the line in fstab: > /dev/sd0g /home ufs rw 1 1 userquota groupquota /dev/sd0g /home ufs rw,userquota,groupquota 1 1 > Then I have made the two files quota.group and quota.user in /home. And > made them readable and writeable by only root (600). And made them owned > by root:wheel. quotacheck -v -a > Then I ran quotaon -a, and just to make sure quotaon /home. quotaon -a will turn on quota checking for all filesystems that have quotas in /etc/fstab > Then I ran edquota -g user (edit quotas for group user) and it worked > fine. I put: -g edits the quotas for the specified group. > edquota returns no errors after saving the file, but if I execute > quotas -g user It comes up with quotas:none. No matter who I put in > the line in edquota, the two files (quota.group, quota.user) never get > changed. Help!! :) edquota For some reason quotaon and quotacheck are working properly in 2.1. The 2.0.5 and 2.1 snaps had some weirdness, but as I had expected, it was probably caused some of the mucking about in the filesystem code b/t 2.0 and 2.1. :) | Matthew N. Dodd | winter@jurai.net | http://www.jurai.net/~winter | | Technical Manager | mdodd@intersurf.net | http://www.intersurf.net | | InterSurf Online | "Welcome to the net Sir, would you like a handbasket?"|