Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 1996 03:05:13 -0600 (CST)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Steve Prentice <steve@aries.bbcc.ctc.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Quotas
Message-ID:  <Pine.BSF.3.91.960130025942.6864C-100000@sasami>
In-Reply-To: <Pine.BSF.3.91.960129144647.329A-100000@aries>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <username>

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?"|




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960130025942.6864C-100000>