| 1 |
# |
| 2 |
# Documentation for JFS2 quota classes interfaces |
| 3 |
# |
| 4 |
# See also http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf2/quotactl.htm |
| 5 |
# (Or search google for "Q_J2GETQUOTA") |
| 6 |
# |
| 7 |
|
| 8 |
__END__ |
| 9 |
|
| 10 |
=head1 JFS2 Quota Class Interface |
| 11 |
|
| 12 |
The following commands are usable on AIX JFS2 file systems only: |
| 13 |
|
| 14 |
=over 4 |
| 15 |
|
| 16 |
=item I<($bs,$bh,$bt, $is,$ih,$it) = Quota::jfs2_getlimit($dev, $class)> |
| 17 |
|
| 18 |
Returns quota limits for the given class. |
| 19 |
|
| 20 |
=item I<Quota::jfs2_putlimit($dev, $class, $bs,$bh,$bt, $is,$ih,$it)> |
| 21 |
|
| 22 |
Sets quota limits for the given class. |
| 23 |
Time limits are 32-bit epoch values. |
| 24 |
|
| 25 |
=item I<Quota::jfs2_newlimit($dev, $bs,$bh,$bt, $is,$ih,$it)> |
| 26 |
|
| 27 |
Creates a new limit class with the given quota limits. |
| 28 |
Returns the class ID, or undef upon error. |
| 29 |
|
| 30 |
=item I<Quota::jfs2_rmvlimit($dev, $class)> |
| 31 |
|
| 32 |
Deletes the given class. |
| 33 |
|
| 34 |
=item I<Quota::jfs2_deflimit($dev, $class)> |
| 35 |
|
| 36 |
Sets the given class as default class. |
| 37 |
|
| 38 |
=item I<Quota::jfs2_uselimit($dev, $class [,$uid [,isgrp]])> |
| 39 |
|
| 40 |
Sets quota for the given user or group to the one specified by |
| 41 |
the given class. |
| 42 |
|
| 43 |
=item I<Quota::jfs2_getnextq($dev, $class)> |
| 44 |
|
| 45 |
Used to iterate all class IDs. Returns the next class ID larger |
| 46 |
then the given class ID. Return undef upon error or at the end |
| 47 |
of the list |
| 48 |
|
| 49 |
=back |
| 50 |
|