<html>
<head>
<meta name="Content-Style" content="text/css">
</head>
<body>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#FILES">FILES</a><br>
<a href="#quota.user or quota.group">quota.user or quota.group</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<!-- Creator : groff version 1.16.1 -->
<!-- CreationDate: Wed Jan 24 01:42:51 2001
-->
<!-- Total number of pages: 1 -->
<!-- Page: 1 -->
<!-- left margin: 220 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p style="margin-left: 18%"><font size=3>setquota - set disk quotas</font></p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><p style="margin-left: 18%"><font size=3><B>/usr/sbin/setquota</B></font> <font size=3>[</font> <font size=3><B>-nr</B></font> <font size=3>] [</font> <font size=3><B>-u</B></font> <font size=3>|</font> <font size=3><B>-g</B></font> <font size=3>]</font> <font size=3><I>name filesystem block­softlimit block­hardlimit inode­softlimit inode­hardlimit</I></font></p>
<p style="margin-left: 18%"><font size=3><B>/usr/sbin/setquota</B></font> <font size=3>[</font> <font size=3><B>-nr</B></font> <font size=3>] [</font> <font size=3><B>-u</B></font> <font size=3>|</font> <font size=3><B>-g</B></font> <font size=3>] [</font> <font size=3><B>-p protoname</B></font> <font size=3>]</font> <font size=3><I>name filesystem</I></font></p>
<a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p style="margin-left: 18%"><font size=3><B>setquota</B></font> <font size=3>is a command line quota editor. The filesystem, user/group name and new quotas for this filesystem can be specified on the command line.</font>
<table width="99%" rules="none" frame="none" cols="3" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</p>
</td>
<td valign="top" align="left" width="18%">
<p><font size=3><B>­n</B></font></p>
<p><font size=3><B>­r</B></font></p>
<p><font size=3><B>­u</B></font></p>
<p><font size=3><B>­g</B></font></p>
<p><font size=3><B>­p</B></font> <font size=3><I>protoname</I></font></p>
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>Consider</font> <font size=3><I>name</I></font> <font size=3>to be a numeric ID (don't lookup user/group names).</font></p>
<p><font size=3>Edit also remote quota use rpc.rquotad on remote server to set quota.</font></p>
<p><font size=3>Set user quotas for named user. This is the default.</font></p>
<p><font size=3>Set group quotas for named group.</font></p>
<p><font size=3>Use quota settings of user or group</font> <font size=3><I>protoname</I></font> <font size=3>to set the quota for the named user or group.</font></p>
</td>
</tr>
</table>
</p>
<p style="margin-left: 18%"><font size=3>To disable a quota, set the coresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem.</font></p>
<p style="margin-left: 18%"><font size=3>Only the super­user may edit quotas. (In order for quotas to be established on a filesystem, the root directory of the filesystem must contain a file, owned by root, called</font> <font size=3><B>quota.user</B></font> <font size=3>or</font> <font size=3><B>quota.group</B></font><font size=3>. See</font> <font size=3><B>quotaon</B></font><font size=3>(8) for details.)</font></p>
<a name="FILES"></a><h2>FILES</h2><a name="quota.user or quota.group"></a><h2>quota.user or quota.group</h2>
<table width="99%" rules="none" frame="none" cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="36%">
</td>
<td valign="top" align="left" width="63%">
<p><font size=3>quota file at the filesystem root</font></p>
</td>
</tr>
</table>
<table width="99%" rules="none" frame="none" cols="2" cellspacing="0" cellpadding="0">
<tr valign="top" align="left">
<td valign="top" align="left" width="18%">
</td>
<td valign="top" align="left" width="81%">
<p><font size=3><B>/etc/mtab</B></font></p>
</td>
</tr>
</table>
<a name="SEE ALSO"></a><h2>SEE ALSO</h2><p style="margin-left: 18%"><font size=3><B>edquota</B></font><font size=3>(8),</font> <font size=3><B>quota</B></font><font size=3>(1),</font> <font size=3><B>quotactl</B></font><font size=3>(2),</font> <font size=3><B>quotacheck</B></font><font size=3>(8),</font> <font size=3><B>quotaon</B></font><font size=3>(8),</font> <font size=3><B>repquota</B></font><font size=3>(8)</font><br>
</p>
</body>
</html>