<3>xfs_quota3><1> [ 1><3>-x3><1> ] [ 1><3>-p3><1> prog ] [ 1><3>-c3><1> cmd ] ... [ 1><3>-d3><1> project ] ... [path...]
.8v # comments are hash-prefixed
# ...
10:/export/cage
42:/var/log
The
projid
file provides a mapping between numeric project identifiers and a
simple human readable name (similar relationship to the one that
exists between usernames and uids).
Its format is simply:
.8v # comments are hash-prefixed
# ...
10:cage
42:logfiles
This file is optional, if a project identifier cannot be mapped to
a name, it will be displayed as a number only.
.8v # mount -o uquota /dev/xvm/home /home
# xfs_quota -c 'edit bsoft=500m bhard=550m tanya' /home
# xfs_quota -c report /home
Enabling directory quota on an XFS filesystem (restrict files in
log file directories to only using 1 gigabyte of space).
.8v # mount -o pquota /dev/xvm/var /var
# echo 42:/var/log >> /etc/projects
# echo logfiles:42 >> /etc/projid
# xfs_quota -c 'projects -c logfiles' /home
# xfs_quota -c 'edit -p bhard=1g logfiles' /home