Module Name: src
Committed By: bouyer
Date: Fri Feb 11 12:50:11 UTC 2011
Modified Files:
src/lib/libc/sys [bouyer-quota2]: quotactl.2
Log Message:
Add pointers to source files using the quotactl interface
To generate a diff of this commit:
cvs rdiff -u -r1.26.2.1 -r1.26.2.2 src/lib/libc/sys/quotactl.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/sys/quotactl.2
diff -u src/lib/libc/sys/quotactl.2:1.26.2.1 src/lib/libc/sys/quotactl.2:1.26.2.2
--- src/lib/libc/sys/quotactl.2:1.26.2.1 Fri Feb 11 12:35:27 2011
+++ src/lib/libc/sys/quotactl.2 Fri Feb 11 12:50:11 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: quotactl.2,v 1.26.2.1 2011/02/11 12:35:27 bouyer Exp $
+.\" $NetBSD: quotactl.2,v 1.26.2.2 2011/02/11 12:50:11 bouyer Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -181,6 +181,20 @@
was supplied; the associated structure could not be copied in or out
of the kernel.
.El
+.Sh FILES
+Example of usage of the
+.Nm
+syscall, with construction of the pref argument an interpretation of
+the reply, can be found in the following
+.Nx
+source files:
+.Bl -tag
+.It src/usr.bin/quota/getvfsquota.c
+.It src/usr.sbin/repquota/repquota.c
+.It src/usr.sbin/edquota/edquota.c
+.It src/usr.sbin/quotaon/quotaon.c
+.It src/sys/ufs/ufs/quota2_prop.c
+.El
.Sh SEE ALSO
.Xr quota 1 ,
.Xr proplib 3 ,