quotactl.2: Minor tweaks to Yang Xu's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-10-31 06:42:53 +01:00
parent ae848b1d80
commit f5fd82cc4e
1 changed files with 16 additions and 6 deletions

View File

@ -117,15 +117,25 @@ argument points to the pathname of a file containing the quotas for
the filesystem.
The quota file must exist; it is normally created with the
.BR quotacheck (8)
program. Quota information can be also stored in hidden system inodes
for ext4, xfs and other filesystems if the filesystem is configured so.
program
.IP
Quota information can be also stored in hidden system inodes
for ext4, XFS, and other filesystems if the filesystem is configured so.
In this case, there are no visible quota files and there is no need to
use
.BR quotacheck (8).
Quota information is always kept consistent by the filesystem and Q_QUOTAON
quotactl only enables enforcement of quota limits. The presence of hidden
system inodes with quota information is indicated by DQF_SYS_FILE flag in
Q_GETINFO output.
Quota information is always kept consistent by the filesystem and the
.B Q_QUOTAON
operation serves only to enable enforcement of quota limits.
The presence of hidden
system inodes with quota information is indicated by the
.B DQF_SYS_FILE
flag in the
.I dqi_flags
field returned by the
.B Q_GETINFO
operation.
.IP
This operation requires privilege
.RB ( CAP_SYS_ADMIN ).
.TP 8