манипулировать дисковыми квотами (manipulate disk quotas)
Примечание (Note)
Instead of <xfs/xqm.h> one can use <linux/dqblk_xfs.h>, taking
into account that there are several naming discrepancies:
• Quota enabling flags (of format XFS_QUOTA_[UGP]DQ_{ACCT,ENFD}
)
are defined without a leading "X", as
FS_QUOTA_[UGP]DQ_{ACCT,ENFD}
.
• The same is true for XFS_{USER,GROUP,PROJ}_QUOTA
quota type
flags, which are defined as FS_{USER,GROUP,PROJ}_QUOTA
.
• The dqblk_xfs.h header file defines its own XQM_USRQUOTA
,
XQM_GRPQUOTA
, and XQM_PRJQUOTA
constants for the available
quota types, but their values are the same as for constants
without the XQM_
prefix.