In quota section:
- Use of manual page entities - Some tags fixing.
This commit is contained in:
parent
f661f5f8c8
commit
fde93a40e1
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=15705
1 changed files with 18 additions and 18 deletions
|
@ -2509,8 +2509,8 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
<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
|
||||
&man.quotacheck.8; program. The
|
||||
&man.quotacheck.8; 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
|
||||
|
@ -2531,15 +2531,15 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
file systems.</para>
|
||||
|
||||
<para>To enable per-user quotas on a file system, add the
|
||||
<literal>userquota</literal> option to the options field in the
|
||||
<option>userquota</option> option to the options field in the
|
||||
<filename>/etc/fstab</filename> entry for the file system you want
|
||||
to enable quotas on. For example:</para>
|
||||
|
||||
<programlisting>/dev/da1s2g /home ufs rw,userquota 1 2</programlisting>
|
||||
|
||||
<para>Similarly, to enable group quotas, use the
|
||||
<literal>groupquota</literal> option instead of
|
||||
<literal>userquota</literal>. To enable both user and
|
||||
<option>groupquota</option> option instead of
|
||||
<option>userquota</option>. To enable both user and
|
||||
group quotas, change the entry as follows:</para>
|
||||
|
||||
<programlisting>/dev/da1s2g /home ufs rw,userquota,groupquota 1 2</programlisting>
|
||||
|
@ -2562,8 +2562,8 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
files.</para>
|
||||
|
||||
<para>In the normal course of operations you should not be required
|
||||
to run the <command>quotacheck</command>,
|
||||
<command>quotaon</command>, or <command>quotaoff</command>
|
||||
to run the &man.quotacheck.8;,
|
||||
&man.quotaon.8;, or &man.quotaoff.8;
|
||||
commands manually. However, you may want to read their manual pages
|
||||
just to be familiar with their operation.</para>
|
||||
</sect2>
|
||||
|
@ -2586,7 +2586,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
on.</para>
|
||||
|
||||
<para>You are now ready to start assigning quota limits with the
|
||||
<command>edquota</command> command.</para>
|
||||
&man.edquota.8; command.</para>
|
||||
|
||||
<para>You have several options on how to enforce limits on the
|
||||
amount of disk space a user or group may allocate, and how many
|
||||
|
@ -2613,10 +2613,10 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
will be reset.</para>
|
||||
|
||||
<para>The following is an example of what you might see when you run
|
||||
the <command>edquota</command> command. When the
|
||||
<command>edquota</command> command is invoked, you are placed into
|
||||
the &man.edquota.8; command. When the
|
||||
&man.edquota.8; command is invoked, you are placed into
|
||||
the editor specified by the <envar>EDITOR</envar> environment
|
||||
variable, or in the <command>vi</command> editor if the
|
||||
variable, or in the <application>vi</application> editor if the
|
||||
<envar>EDITOR</envar> variable is not set, to allow you to edit
|
||||
the quota limits.</para>
|
||||
|
||||
|
@ -2646,7 +2646,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
|
||||
<para>Sometimes it is desirable to set quota limits on a range of
|
||||
UIDs. This can be done by use of the <option>-p</option> option
|
||||
on the <command>edquota</command> command. First, assign the
|
||||
on the &man.edquota.8; command. First, assign the
|
||||
desired quota limit to a user, and then run
|
||||
<command>edquota -p protouser startuid-enduid</command>. For
|
||||
example, if user <username>test</username> has the desired quota
|
||||
|
@ -2655,7 +2655,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
|
||||
<screen>&prompt.root; <userinput>edquota -p test 10000-19999</userinput></screen>
|
||||
|
||||
<para>For more information see &man.edquota.8;.</para>
|
||||
<para>For more information see &man.edquota.8; manual page.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
@ -2665,14 +2665,14 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
<secondary>checking</secondary>
|
||||
</indexterm>
|
||||
|
||||
<para>You can use either the <command>quota</command> or the
|
||||
<command>repquota</command> commands to check quota limits and
|
||||
disk usage. The <command>quota</command> command can be used to
|
||||
<para>You can use either the &man.quota.1; or the
|
||||
&man.repquota.8; commands to check quota limits and
|
||||
disk usage. The &man.quota.1; command can be used to
|
||||
check individual user or group quotas and disk usage. A user
|
||||
may only examine his own quota, and the quota of a group he
|
||||
is a member of. Only the super-user may view all user and group
|
||||
quotas. The
|
||||
<command>repquota</command> command can be used to get a summary
|
||||
&man.repquota.8; command can be used to get a summary
|
||||
of all quotas and disk usage for file systems with quotas
|
||||
enabled.</para>
|
||||
|
||||
|
@ -2694,7 +2694,7 @@ Filesystem 1K-blocks Used Avail Capacity Mounted on
|
|||
|
||||
<para>Normally file systems that the user is not using any disk
|
||||
space on will not show up in the output from the
|
||||
<command>quota</command> command, even if he has a quota limit
|
||||
&man.quota.1; command, even if he has a quota limit
|
||||
assigned for that file system. The <option>-v</option> option
|
||||
will display those file systems, such as the
|
||||
<filename>/usr/var</filename> file system in the above
|
||||
|
|
Loading…
Reference in a new issue