Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 1996 12:10:57 +0100 (WET DST)
From:      Jorge Goncalves <mec204@crazy.fe.up.pt>
To:        sameer@c2.org
Cc:        freebsd-questions@freebsd.org, freebsd-isp@freebsd.org
Subject:   Re: FreeBSD and quotas
Message-ID:  <Pine.OSF.3.91.960603120020.7751A-100000@crazy.fe.up.pt>
In-Reply-To: <199606030506.WAA09191@niobe.c2.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 2 Jun 1996 sameer@c2.org wrote:

> anonymizer, etc., and I love FreeBSD.
> 	I need to soon replace my sunos sparc machine because it is
> handling way more than it should, but the question of quotas now comes
> up. I see in /etc/sysconfig a comment saying "quotas probably don't
> work".
> 
> 	I was wondering what the situation was with quotas. Do they
> work? If not, what are people doing to take care of the quota issue?

I love FreeBSD too...

To enable quotas add the following line to your kernel configuration file

OPTIONS		QUOTA

Edit /etc/sysconfig and turn on the option you mencioned before.

To enable quotas on a filesystem edit /etc/fstab and change the entry to

<partition>	<mounting point>	default	rw,userquota,groupquota	1 1

Then reboot your machine. 

To edit quotas for one user just run the command edquota <username>.

Other important commands are quotacheck, repquota, quotaon and quotaoff. The 
first updates the quota files (if quotas are working this command 
you should not need to run this command so often), the second shows the 
blocks the blocks used by the users and groups, the third turns quotas on 
and the last one turns quotas off. 

For more information see the man page of these commands.

If you have any doubt send mail to the list or to me.

I hope that this reply helps you...

Jorge Goncalves
mec204@crazy.fe.up.pt

..............................................................................

   "The pen is mightier than the sword - so, in these dangerous times, I 
    always carry a pen."

..............................................................................

If you like privacy then finger for PGP key.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: Requires PGP version 2.6 or later.

iQCVAwUBMbLIJ1pS4ybTIq3ZAQEn2QP/ab6JnWcy1pS+MEBgvs97aiKb8O8ldrSc
oftkFRDykxCKC04+5il0L/4jeeprTU+EqD9u56WhcXStSkWEdB39EMcDCcaqc7ET
cCfdUGpISUuwT6qVnRZibg9os0JQHCr04SkKREM8ZrpKJnXBid5+zI/NTMuHzPsV
ciw7qJGwSAw=
=U5Q+
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960603120020.7751A-100000>