Module Name: src Committed By: wiz Date: Sun Mar 6 17:34:57 UTC 2011
Modified Files: src/usr.sbin/quotactl: quotactl.8 Log Message: Remove trailing whitespace; remove dot at end of SEE ALSO; new sentence, new line; split "file system"; more markup. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/quotactl/quotactl.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/quotactl/quotactl.8 diff -u src/usr.sbin/quotactl/quotactl.8:1.2 src/usr.sbin/quotactl/quotactl.8:1.3 --- src/usr.sbin/quotactl/quotactl.8:1.2 Sun Mar 6 17:08:43 2011 +++ src/usr.sbin/quotactl/quotactl.8 Sun Mar 6 17:34:57 2011 @@ -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 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 +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. .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