]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/quotactl.2, man/man2const/Q_QUOTAOFF.2const: Split Q_QUOTAOFF from quotactl(2)
authorAlejandro Colomar <alx@kernel.org>
Sat, 11 Apr 2026 19:38:38 +0000 (21:38 +0200)
committerAlejandro Colomar <alx@kernel.org>
Thu, 4 Jun 2026 23:06:13 +0000 (01:06 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/quotactl.2
man/man2const/Q_QUOTAOFF.2const [new file with mode: 0644]

index e890c4566612e47e6b13871920af86eea8ebc9f1..1da1f6e4a2c9dcde4c2c0cf0459eb0686b419864 100644 (file)
@@ -103,16 +103,8 @@ The
 value is one of the following operations:
 .TP
 .BR Q_QUOTAON (2const)
-.TP
-.B Q_QUOTAOFF
-Turn off quotas for a filesystem.
-The
-.I addr
-and
-.I id
-arguments are ignored.
-This operation requires privilege
-.RB ( CAP_SYS_ADMIN ).
+.TQ
+.BR Q_QUOTAOFF (2const)
 .TP
 .B Q_GETQUOTA
 Get disk quota limits and current usage for user or group
diff --git a/man/man2const/Q_QUOTAOFF.2const b/man/man2const/Q_QUOTAOFF.2const
new file mode 100644 (file)
index 0000000..9554f46
--- /dev/null
@@ -0,0 +1,52 @@
+.\" Copyright 1996, Andries E. Brouwer <aeb@cwi.nl>
+.\" Copyright 2010, Jan Kara <jack@suse.cz>
+.\" Copyright 2010, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright, the authors of the Linux man-pages project
+.\"
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
+.\"
+.TH Q_QUOTAOFF 2const (date) "Linux man-pages (unreleased)"
+.SH NAME
+Q_QUOTAOFF
+\-
+turn off quotas for a filesystem
+.SH LIBRARY
+Standard C library
+.RI ( libc ,\~ \-lc )
+.SH SYNOPSIS
+.nf
+.B #include <sys/quota.h>
+.P
+.BI "int\~quotactl(QCMD(Q_QUOTAOFF, " type "), const\~char\~*_Nullable\~" special ,
+.B "             0, NULL);"
+.P
+.BR "#include <sys/quota.h>" "    /* Definition of " Q_* " constants */"
+.BR "#include <sys/syscall.h>" "  /* Definition of " SYS_* " constants */"
+.B #include <unistd.h>
+.P
+.BI "int\~syscall(SYS_quotactl_fd, int\~" fd ", QCMD(Q_QUOTAOFF, " type ));
+.fi
+.SH DESCRIPTION
+.TP
+.B Q_QUOTAOFF
+Turn off quotas for a filesystem.
+The
+.I addr
+and
+.I id
+arguments are ignored.
+This operation requires privilege
+.RB ( CAP_SYS_ADMIN ).
+.SH RETURN VALUE
+See
+.BR quotactl (2).
+.SH ERRORS
+See
+.BR quotactl (2).
+.SH STANDARDS
+Linux.
+.SH HISTORY
+Linux.
+.SH SEE ALSO
+.BR quotactl (2),
+.BR quotactl_fd (2)