2.9BSD/usr/man/cat8/setquota.8


SETQUOTA(8)         UNIX Programmer's Manual          SETQUOTA(8)

NAME
     setquota, sq - make block quotas

SYNOPSIS
     setquota dir [ cur ] max

     sq d1 ... dn max

DESCRIPTION
     _S_e_t_q_u_o_t_a sets up or modifies the maximum block quota and
     present block count for a directory by modifying the file
     _d_i_r/._q.  If _c_u_r is not specified, the current usage count is
     unchanged.  _S_q calculates the current usage for _d_1, ..., _d_n,
     and sets the maximum block quota to _m_a_x.  If a directory
     currently has no quota associated, either _s_q should be used
     or _c_u_r must be specified.  Both _s_e_t_q_u_o_t_a and _s_q use units of
     1024-byte blocks.  These programs require super-user
     privileges.

FILES
     _d_i_r/.q              quota node for _d_i_r

SEE ALSO
     du(1), file(1), ls(1), pq(1), quota(2), qstat(2)

BUGS
     _M_a_x is an absolute maximum.  Hence programs that write in
     _d_i_r may fail if intermediate usage exceeds the quota.

Printed 8/2/83                                                  1