From f5fd82cc4ea03dc980e982fb6af514c299825f3f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 31 Oct 2019 06:42:53 +0100 Subject: [PATCH] quotactl.2: Minor tweaks to Yang Xu's patch Signed-off-by: Michael Kerrisk --- man2/quotactl.2 | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/man2/quotactl.2 b/man2/quotactl.2 index 215ec6252..6670ab6ea 100644 --- a/man2/quotactl.2 +++ b/man2/quotactl.2 @@ -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