Blob Blame History Raw
diff -urNp quota-tools-orig/quotactl.2 quota-tools/quotactl.2
--- quota-tools-orig/quotactl.2	2008-10-13 19:29:18.000000000 +0200
+++ quota-tools/quotactl.2	2009-09-18 09:27:30.000000000 +0200
@@ -3,12 +3,11 @@
 quotactl \- manipulate disk quotas
 .SH SYNOPSIS
 .nf
-.B #include <linux/quota.h>
+.B #include <sys/quota.h>
+.B #include <sys/types.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)
+.B long quotactl(int cmd, char \(**special, int id, caddr_t addr)
 .fi
 .SH DESCRIPTION
 .LP
@@ -67,9 +66,9 @@ Get disk quota limits and current usage 
 .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 +81,15 @@ Set current quota information for user o
 .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 +100,9 @@ in the previous quota interfaces. This c
 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 +117,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 +155,7 @@ Get statistics and other generic informa
 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