diff options
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | quotactl.2 | 26 |
2 files changed, 13 insertions, 14 deletions
@@ -1,5 +1,6 @@ Changes in quota-tools from 3.16 to 3.18 * Fixed mountpoint scanning when NFS mountpoint is specified on command line (Jan Kara) +* Updated manpage of quotactl(2) (Jan Kara) Changes in quota-tools from 3.16 to 3.17 * Updated quotactl(2) manpage to mention possible ERANGE error (Jan Kara) @@ -3,10 +3,8 @@ quotactl \- manipulate disk quotas .SH SYNOPSIS .nf -.B #include <linux/quota.h> +.B #include <sys/quota.h> .B #include <xfs/xqm.h> -.B #include <linux/dqblk_v1.h> -.B #include <linux/dqblk_v2.h> .LP .B long quotactl(int cmd, char \(**special, qid_t id, caddr_t addr) .fi @@ -67,9 +65,9 @@ Get disk quota limits and current usage for user or group .IR id . .I addr is a pointer to an -.B if_dqblk +.B dqblk structure (defined in -.BR <linux/quota.h> ). +.BR <sys/quota.h> ). The field .I dqb_valid defines the entries in the structure which are set correctly. On @@ -82,15 +80,15 @@ Set current quota information for user or group .IR id . .I addr is a pointer to an -.B if_dqblk +.B dqblk structure (defined in -.BR <linux/quota.h> ). +.BR <sys/quota.h> ). The field .I dqb_valid defines which entries in the quota structure are valid and should be set. The constants for .I dqb_valid field are defined in the -.B <linux/quota.h> +.B <sys/quota.h> header file. This call obsoletes calls .B Q_SETQLIM and @@ -101,9 +99,9 @@ in the previous quota interfaces. This call is restricted to the super-user. Get information (like grace times) about quotafile. .I addr should be a pointer to an -.B if_dqinfo +.B dqinfo structure (defined in -.IR <linux/quota.h> ). +.IR <sys/quota.h> ). The .I dqi_valid field in the structure defines entries in it @@ -118,15 +116,15 @@ is ignored. Set information about quotafile. .I addr should be a pointer to -.B if_dqinfo +.B dqinfo structure (defined in -.IR <linux/quota.h> ). +.IR <sys/quota.h> ). The field .I dqi_valid defines which entries in the quota info structure are valid and should be set. The constants for .I dqi_valid field are defined in the -.B <linux/quota.h> +.B <sys/quota.h> header file. This call obsoletes calls .B Q_SETGRACE and @@ -156,7 +154,7 @@ Get statistics and other generic information about quota subsystem. should be a pointer to .B dqstats structure (defined in -.BR <linux/quota.h> ) +.BR <sys/quota.h> ) in which data should be stored. .I special and |