From owner-freebsd-questions Mon Jan 29 19:03:26 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA12876 for questions-outgoing; Mon, 29 Jan 1996 19:03:26 -0800 (PST) Received: from starfleet.gov (root@ix-sb1-11.ix.netcom.com [204.32.201.43]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id TAA12866 for ; Mon, 29 Jan 1996 19:03:19 -0800 (PST) Received: (from d_burr@localhost) by starfleet.gov (8.6.11/8.6.9) id TAA00262; Mon, 29 Jan 1996 19:02:15 -0800 Date: Mon, 29 Jan 1996 19:02:14 -0800 (PST) From: Donald Burr X-Sender: d_burr@starfleet.gov 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 Wrong format. It should read: /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. You don't have to make these; the first time quota is run, it'll do it for you. In fact, you shouldn't hand-make them, because I think they have to be made in a certain format. Then I ran quotaon -a, and just to make sure quotaon /home. quotaon -a should be sufficient. Edit /etc/sysconfig, this is really where you should turn on quotas, instead of hand-editing the /etc/rc* files. > Then I ran edquota -g user (edit quotas for group user) and it worked > fine. I put: > fs /home blocks soft=10000 hard=20000 > 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!! :) Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072 PGP Public Key available by request (send e-mail) or on Public Key Servers. ** Uphold your right to privacy - Use PGP. **