Update the serverely out-of-date section on quotas.

Submitted by:	Alex Perel <veers@disturbed.net>
This commit is contained in:
Chris Costello 1999-09-06 18:38:44 +00:00
parent 1490a1681c
commit 8a73081b49
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=5555

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD$
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/quotas/chapter.sgml,v 1.11 1999/09/06 06:53:05 peter Exp $
-->
<chapter id="quotas">
@ -17,7 +17,7 @@
amount of resources any one user or group of users may allocate. This
will prevent one user from consuming all of the available disk
space.</para>
<sect1>
<title>Configuring Your System to Enable Disk Quotas</title>
@ -35,23 +35,32 @@ options QUOTA</programlisting>
for more information on kernel configuration.</para>
<para>Next you will need to enable disk quotas in
<filename>/etc/sysconfig</filename>. This is done by changing the line:
<filename>/etc/rc.conf</filename>. This is done by adding the line:
</para>
<programlisting>
quotas=NO</programlisting>
to:
<programlisting>
quotas=YES</programlisting></para>
enable_quotas=YES</programlisting>
<para>If you are running FreeBSD 2.2.2 or later, the configuration file
will be <filename>/etc/rc.conf</filename> instead and the variable name
changed to:</para>
<para>For finer control over your quota startup, there is an additional
configuration variable available. Normally on bootup, the quota integrity
of each file system is checked by the <command>quotacheck</command>
program. The <command>quotacheck</command> facility insures that the
data in the quota database properly reflects the data on the
file system. This is a very time consuming process that will
significantly affect the time your system takes to boot. If you would
like to skip this step, a variable is made available for the purpose:
</para>
<programlisting>
check_quotas=NO</programlisting>
<para>If you are running FreeBSD prior to 3.2-RELEASE, the configuration
is simpler, and consists of only one variable. Set the following in your
<filename>/etc/rc.conf</filename>:</para>
<programlisting>
check_quotas=YES</programlisting>
<para>Finally you will need to edit <filename>/etc/fstab</filename> to
enable disk quotas on a per-file system basis. This is where you can
either enable user or group quotas or both for all of your file