Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/quotactl Remove trailing whitespace; remove dot at ...
details: https://anonhg.NetBSD.org/src/rev/8f3f1dae4ace
branches: trunk
changeset: 762961:8f3f1dae4ace
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Mar 06 17:34:57 2011 +0000
description:
Remove trailing whitespace; remove dot at end of SEE ALSO; new sentence, new line;
split "file system"; more markup.
diffstat:
usr.sbin/quotactl/quotactl.8 | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
diffs (74 lines):
diff -r 3ea465ab2b69 -r 8f3f1dae4ace usr.sbin/quotactl/quotactl.8
--- a/usr.sbin/quotactl/quotactl.8 Sun Mar 06 17:32:38 2011 +0000
+++ b/usr.sbin/quotactl/quotactl.8 Sun Mar 06 17:34:57 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: quotactl.8,v 1.2 2011/03/06 17:08:43 bouyer Exp $
+.\" $NetBSD: quotactl.8,v 1.3 2011/03/06 17:34:57 wiz Exp $
.\"
.\" Copyright (c) 2011 Manuel Bouyer
.\" All rights reserved.
@@ -32,43 +32,44 @@
.Nd send commands to the kernel disk quota subsystem
.Sh SYNOPSIS
.Nm
-.Op Fl D
-.Op Fl x
-.Ar filesystem
+.Op Fl Dx
+.Ar file-system
.Op Ar plist
.Sh DESCRIPTION
.Nm
reads a property list of commands from the specified file or stdin,
-and sends it to the kernel for the specified filesystem through the
+and sends it to the kernel for the specified file system through the
.Xr quotactl 2
system call.
.Pp
Available options:
.Bl -tag -width Ds
+.It Fl D
+Debug: print plist sent to and received from kernel to stderr.
.It Fl x
-Do not parse reply from kernel for errors and print it to stdout
-.It Fl D
-Debug: print plist sent to and received from kernel to stderr
+Do not parse reply from kernel for errors and print it to stdout.
.El
.Pp
If
.Fl x
-is not specified,
+is not specified,
.Nm
parses the reply from the kernel, looking at each command return value
and reporting errors.
.Sh EXIT STATUS
.Nm
-exists with 0 on success. If there was problems parsing the command plist,
+exists with 0 on success.
+If there was problems parsing the command plist,
or the reply from the kernel, or if the
.Xr quotactl 2
-system call returned an error, the exist status will be 1.
+system call returned an error, the exit status will be 1.
Unless
.Fl x
is present, a message is printed to stderr for each failed command,
and the exit status will be 2 if any comand failed.
.Sh EXAMPLES
-This will set the quota limits for user id 100 on the filesystem /home:
+This will set the quota limits for user id 100 on the file system
+.Pa /home :
.Bd -literal
quotactl /home << EOF
<?xml version="1.0" encoding="UTF-8"?>
@@ -128,7 +129,7 @@
.Xr quotactl 2 ,
.Xr proplib 3 ,
.Xr edquota 8 ,
-.Xr repquota 8 .
+.Xr repquota 8
.Sh HISTORY
The
.Nm
Home |
Main Index |
Thread Index |
Old Index