"Fossies" - the Fresh Open Source Software Archive

Member "quotactl-1.00/mkquota.html" (29 Sep 2005, 2055 Bytes) of package /linux/privat/old/quotactl-1.00.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <html>
    2 <head>
    3 <title>mkquota manual</title>
    4 <body>
    5 <h1>mkquota manual</h1>
    6 
    7 <p><b>mkquota</b> generates a quota file for Linux disk quotas.
    8 
    9 <h2>Example</h2>
   10 
   11 <pre>
   12 <kbd>
   13 $ mkquota -user &gt;/userquota
   14 </kbd>
   15 <kbd>
   16 $ mkquota -group &gt;/groupquota
   17 </kbd>
   18 </pre>
   19 
   20 <h2>Synopsis</h2>
   21 
   22 <b>mkquota</b>
   23 
   24 {<b>-user</b>] <b>-group</b>}
   25 
   26 
   27 <h2>Description</h2>
   28 
   29 <p><b>mkquota</b> creates a quota file for use with the Linux
   30 disk quota system.
   31 
   32 <p>The file is just an initial file; it doesn't contain any quotas
   33 for any users or groups.
   34 
   35 <p>More important, the file does not contain any current usage information;
   36 it says all users or groups have zero current usage.
   37 
   38 <p>If you want to use this quota file to begin doing quota administration
   39 on an existing filesystem, there are two ways you can get the initial
   40 current usage information into the file:
   41 
   42 <ul>
   43 <li>Use <b>quotause</b>, with this initial file as input and identify
   44 the filesystem for which it is to be the quota file.  <b>quotause</b>
   45 will create another quota file as output that has all the proper
   46 current usage information in it.
   47 
   48 <li>Use <b>quotactl</b> to turn on quota administration for the
   49 filesystem of interest, using the initial file as the quota file.
   50 Then figure out the current usage information somehow and then use
   51 <b>quotactl</b> to set each of the current usage values in turn.
   52 
   53 </ul>
   54 
   55 <p>In any case, the kernel keeps the quota file updated as users use
   56 and return filesystem space.  Once you get the usage information right,
   57 it will normally remain right.
   58 
   59 <p>The initial file has unlimited quota for everyone.  To change this,
   60 Use <b>quotactl</b> when quota administration is turned on with this
   61 file as the quota file.
   62 
   63 
   64 <h2>Options</h2>
   65 
   66 <dl>
   67 
   68 <DT><b>-user</b>
   69 
   70 <dd>This option makes <b>mkquota</b> generate a user quota file,
   71 as opposed to a group quota file.
   72 
   73 <DT><b>-group</b>
   74 
   75 <dd>This option makes <b>mkquota</b> generate a group quota file,
   76 as opposed to a user quota file.
   77 
   78 </dl>
   79 
   80 
   81 <address>
   82 <a href="mailto:bryanh@giraffe-data.com">Bryan Henderson</a>
   83 </address>
   84 </html>