diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-01-17 07:44:44 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-01-17 07:44:44 +0000 |
| commit | a866e170777b42fd7921eadd6e7e664f3a031d60 (patch) | |
| tree | f5a5fbfda9358c31fa2746d0671fe366bb17d243 /usr.sbin | |
| parent | e8cde1ac6ff037d232538a4e35b007b4ece89a9a (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
39 files changed, 46 insertions, 42 deletions
diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8 index 969e612dba51..cfc5f299ada1 100644 --- a/usr.sbin/ac/ac.8 +++ b/usr.sbin/ac/ac.8 @@ -121,7 +121,7 @@ allows times recorded in .Pa modems to be charged out at a different rate than .Pa other . -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh FILES .Bl -tag -width /var/log/wtmp -compact diff --git a/usr.sbin/bluetooth/bcmfw/bcmfw.8 b/usr.sbin/bluetooth/bcmfw/bcmfw.8 index a0661c220771..14a30123d94e 100644 --- a/usr.sbin/bluetooth/bcmfw/bcmfw.8 +++ b/usr.sbin/bluetooth/bcmfw/bcmfw.8 @@ -96,7 +96,7 @@ device: .Sh BUGS Most likely. Please report if found. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr ubtbcmfw 4 , diff --git a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 index 74aa6d738124..a5c243823cbe 100644 --- a/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 +++ b/usr.sbin/bluetooth/bt3cfw/bt3cfw.8 @@ -65,7 +65,7 @@ Connect to the specified Netgraph driver node of type .El .Sh BUGS Please report if found. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr ng_bt3c 4 diff --git a/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8 b/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8 index 95327df3ac2b..3b1717471fb0 100644 --- a/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8 +++ b/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.8 @@ -86,7 +86,7 @@ are: .It Cm Known .It Cm Forget .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh FILES .Bl -tag -width ".Pa /etc/bluetooth/bthidd.conf" -compact diff --git a/usr.sbin/bluetooth/hccontrol/hccontrol.8 b/usr.sbin/bluetooth/hccontrol/hccontrol.8 index 65cc53f01123..326d4173320d 100644 --- a/usr.sbin/bluetooth/hccontrol/hccontrol.8 +++ b/usr.sbin/bluetooth/hccontrol/hccontrol.8 @@ -171,7 +171,7 @@ are: .Sh BUGS Most likely. Please report if found. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr bluetooth 3 , diff --git a/usr.sbin/bluetooth/l2control/l2control.8 b/usr.sbin/bluetooth/l2control/l2control.8 index e98f301df817..794b6a72a9a6 100644 --- a/usr.sbin/bluetooth/l2control/l2control.8 +++ b/usr.sbin/bluetooth/l2control/l2control.8 @@ -84,7 +84,7 @@ are: .It Cm Read_Auto_Disconnect_Timeout .It Cm Write_Auto_Disconnect_Timeout .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr netgraph 3 , diff --git a/usr.sbin/bluetooth/l2ping/l2ping.8 b/usr.sbin/bluetooth/l2ping/l2ping.8 index c03389240887..5d30239c99c2 100644 --- a/usr.sbin/bluetooth/l2ping/l2ping.8 +++ b/usr.sbin/bluetooth/l2ping/l2ping.8 @@ -103,7 +103,7 @@ Some implementations may not like large sizes and may hang or even crash. .Sh BUGS Could collect more statistic. Could check for duplicated, corrupted and lost packets. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr bluetooth 3 , diff --git a/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 b/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 index d9b877771978..deb055068812 100644 --- a/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 +++ b/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 @@ -305,7 +305,7 @@ in mode with .Dq Li rfcomm-client label. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh CAVEAT The diff --git a/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8 b/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8 index 1f75eead81b2..38c802f67b7d 100644 --- a/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8 +++ b/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.8 @@ -109,7 +109,7 @@ Protocol Descriptor List .It Bluetooth Profile Descriptor List .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr bluetooth 3 , diff --git a/usr.sbin/boot0cfg/boot0cfg.8 b/usr.sbin/boot0cfg/boot0cfg.8 index 9bfc8cb17161..7b92b6b0da0a 100644 --- a/usr.sbin/boot0cfg/boot0cfg.8 +++ b/usr.sbin/boot0cfg/boot0cfg.8 @@ -161,7 +161,7 @@ To boot slice 2 on the next boot: To enable just slices 1 and 2 in the menu: .Pp .Dl "boot0cfg -m 0x3 ad0" -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr boot 8 , diff --git a/usr.sbin/boot98cfg/boot98cfg.8 b/usr.sbin/boot98cfg/boot98cfg.8 index 5a274439a119..5fb9a6a6fa31 100644 --- a/usr.sbin/boot98cfg/boot98cfg.8 +++ b/usr.sbin/boot98cfg/boot98cfg.8 @@ -97,7 +97,7 @@ The default sector size is 512 .Sh SEE ALSO .Xr boot 8 , .Xr fdisk 8 -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh AUTHORS .An NOKUBI Hirotaka , diff --git a/usr.sbin/btxld/btxld.8 b/usr.sbin/btxld/btxld.8 index eee03554a309..4a0333a958ff 100644 --- a/usr.sbin/btxld/btxld.8 +++ b/usr.sbin/btxld/btxld.8 @@ -92,7 +92,7 @@ combined .text and .data segments of the client image. .Sh SEE ALSO .Xr ld 1 , .Xr boot 8 -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh AUTHORS .An Robert Nordier Aq rnordier@FreeBSD.org . diff --git a/usr.sbin/chkgrp/chkgrp.8 b/usr.sbin/chkgrp/chkgrp.8 index e7a16060ca9d..257423798b18 100644 --- a/usr.sbin/chkgrp/chkgrp.8 +++ b/usr.sbin/chkgrp/chkgrp.8 @@ -60,7 +60,7 @@ will print an error message containing the name of the file being scanned and the line number on which the error was found. Otherwise no output is produced. -.Pp +.Sh EXIT STATUS The .Nm utility returns diff --git a/usr.sbin/chown/chgrp.1 b/usr.sbin/chown/chgrp.1 index f085bff46484..5cfaa302090d 100644 --- a/usr.sbin/chown/chgrp.1 +++ b/usr.sbin/chown/chgrp.1 @@ -113,7 +113,7 @@ The user invoking .Nm must belong to the specified group and be the owner of the file, or be the super-user. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh COMPATIBILITY In previous versions of this system, symbolic links did not have groups. diff --git a/usr.sbin/chown/chown.8 b/usr.sbin/chown/chown.8 index d8abeb4d8b90..cb7e170c0d38 100644 --- a/usr.sbin/chown/chown.8 +++ b/usr.sbin/chown/chown.8 @@ -132,7 +132,7 @@ group name. .Pp The ownership of a file may only be altered by a super-user for obvious security reasons. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh COMPATIBILITY Previous versions of the diff --git a/usr.sbin/ckdist/ckdist.1 b/usr.sbin/ckdist/ckdist.1 index f784a07a5210..e52e20ca1bbe 100644 --- a/usr.sbin/ckdist/ckdist.1 +++ b/usr.sbin/ckdist/ckdist.1 @@ -89,7 +89,7 @@ is either "md5" or "inf"). .Sh SEE ALSO .Xr cksum 1 , .Xr md5 1 -.Sh DIAGNOSTICS +.Sh EXIT STATUS Exit status is 0 if no errors were detected, 1 if errors were found in a distribution, and 2 if usage errors, inaccessible input files, or other system errors were encountered. diff --git a/usr.sbin/ctm/ctm_rmail/ctm_rmail.1 b/usr.sbin/ctm/ctm_rmail/ctm_rmail.1 index ed3272960927..1aaecc7255cd 100644 --- a/usr.sbin/ctm/ctm_rmail/ctm_rmail.1 +++ b/usr.sbin/ctm/ctm_rmail/ctm_rmail.1 @@ -438,7 +438,7 @@ Completed deltas. File containing the name and number of the next delta to be applied to this source tree. .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm ctm_smail , .Nm ctm_dequeue @@ -456,7 +456,7 @@ apply a completed delta with is not considered an error important enough to bounce the mail, and .Nm ctm_rmail returns an exit status of 0. -.Pp +.Sh DIAGNOSTICS In normal operation, .Nm ctm_smail will report messages like: diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8 index a1048fd78724..74b5b81bc874 100644 --- a/usr.sbin/daemon/daemon.8 +++ b/usr.sbin/daemon/daemon.8 @@ -58,7 +58,7 @@ Note, that the file will be created shortly before the process is actually executed, and will remain after the process exits (although it will be removed if the execution fails). .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm utility exits 1 if an error is returned by the @@ -67,6 +67,7 @@ library routine, 2 if the .Ar pidfile is requested, but cannot be opened, otherwise 0. +.Sh DIAGNOSTICS If the command cannot be executed, an error message is displayed on standard error unless the .Fl f diff --git a/usr.sbin/faithd/faithd.8 b/usr.sbin/faithd/faithd.8 index e50d7b57ef42..5d16989902fa 100644 --- a/usr.sbin/faithd/faithd.8 +++ b/usr.sbin/faithd/faithd.8 @@ -268,7 +268,7 @@ the traffic will be denied. With inetd mode, traffic may be filtered by using access control functionality in .Xr inetd 8 . -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm utility exits with diff --git a/usr.sbin/fdread/fdread.1 b/usr.sbin/fdread/fdread.1 index 090a91dfbd2b..5a4ecc29a670 100644 --- a/usr.sbin/fdread/fdread.1 +++ b/usr.sbin/fdread/fdread.1 @@ -158,7 +158,7 @@ option. .It Pa /dev/fd0 Default device to read from. .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm utility sets the exit value according to @@ -166,7 +166,7 @@ utility sets the exit value according to In recovery mode, the exit value will be set to .Dv EX_IOERR if any error occurred during processing (even in quiet mode). -.Pp +.Sh DIAGNOSTICS Unless running in quiet mode, upon encountering an error, the status of the floppy disc controller (FDC) will be printed out, both in hexadecimal form, followed by a textual description that translates diff --git a/usr.sbin/flowctl/flowctl.8 b/usr.sbin/flowctl/flowctl.8 index 67f5bd5d92b0..c9104cb11310 100644 --- a/usr.sbin/flowctl/flowctl.8 +++ b/usr.sbin/flowctl/flowctl.8 @@ -62,7 +62,7 @@ This command is the analog of the command of a Cisco router. It dumps the contents of the flow cache in Cisco-like format. .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr netgraph 3 , diff --git a/usr.sbin/gstat/gstat.8 b/usr.sbin/gstat/gstat.8 index abdde06c47ed..b384075fb377 100644 --- a/usr.sbin/gstat/gstat.8 +++ b/usr.sbin/gstat/gstat.8 @@ -69,7 +69,7 @@ or (the default) indicates that the update interval is specified in seconds, milliseconds, or microseconds, respectively. .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr geom 4 diff --git a/usr.sbin/i4b/isdnd/isdnd.8 b/usr.sbin/i4b/isdnd/isdnd.8 index 42c01f179426..5b311fb77467 100644 --- a/usr.sbin/i4b/isdnd/isdnd.8 +++ b/usr.sbin/i4b/isdnd/isdnd.8 @@ -408,7 +408,7 @@ will start with reasonable debugging messages enabled, full-screen mode of operation, full-screen display redirected to /dev/ttyv3 and using a termcap entry for vt100 on this display. -.Sh DIAGNOSTICS +.Sh EXIT STATUS Exit status is 0 on success, 1 on error. .Sh SEE ALSO .Xr i4bing 4 , diff --git a/usr.sbin/i4b/isdnmonitor/isdnmonitor.8 b/usr.sbin/i4b/isdnmonitor/isdnmonitor.8 index 1fb1b70f5cbc..6a8b80143685 100644 --- a/usr.sbin/i4b/isdnmonitor/isdnmonitor.8 +++ b/usr.sbin/i4b/isdnmonitor/isdnmonitor.8 @@ -160,7 +160,7 @@ to monitor a locally running isdnd: .Bd -literal -offset indent isdnmonitor -h localhost .Ed -.Sh DIAGNOSTICS +.Sh EXIT STATUS Exit status is 0 on success, 1 on error. .Sh SEE ALSO .Xr isdnd 8 diff --git a/usr.sbin/ip6addrctl/ip6addrctl.8 b/usr.sbin/ip6addrctl/ip6addrctl.8 index 018743b95051..59154d447b1e 100644 --- a/usr.sbin/ip6addrctl/ip6addrctl.8 +++ b/usr.sbin/ip6addrctl/ip6addrctl.8 @@ -104,7 +104,7 @@ are comments and are ignored. .El .\" -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .\" .Sh SEE ALSO diff --git a/usr.sbin/kgzip/kgzip.8 b/usr.sbin/kgzip/kgzip.8 index 3537502c975b..58811c1bc55f 100644 --- a/usr.sbin/kgzip/kgzip.8 +++ b/usr.sbin/kgzip/kgzip.8 @@ -129,7 +129,7 @@ The default loader .Xr elf 5 , .Xr boot 8 , .Xr loader 8 -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh AUTHORS .An Robert Nordier Aq rnordier@FreeBSD.org . diff --git a/usr.sbin/mergemaster/mergemaster.8 b/usr.sbin/mergemaster/mergemaster.8 index 699120b5a5c1..8cd8b25ace06 100644 --- a/usr.sbin/mergemaster/mergemaster.8 +++ b/usr.sbin/mergemaster/mergemaster.8 @@ -373,7 +373,7 @@ with all values commented out: .%T The Cutting Edge (using make world) .%A Nik Clayton .Re -.Sh DIAGNOSTICS +.Sh EXIT STATUS Exit status is 0 on successful completion, or if the user bails out manually at some point during execution. .Pp diff --git a/usr.sbin/mtree/mtree.8 b/usr.sbin/mtree/mtree.8 index 124b45f9f313..85a1fe816e20 100644 --- a/usr.sbin/mtree/mtree.8 +++ b/usr.sbin/mtree/mtree.8 @@ -341,7 +341,7 @@ distribution. .It Pa /etc/mtree system specification directory .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr chflags 1 , diff --git a/usr.sbin/ndp/ndp.8 b/usr.sbin/ndp/ndp.8 index b39625a19edb..00dc92612a55 100644 --- a/usr.sbin/ndp/ndp.8 +++ b/usr.sbin/ndp/ndp.8 @@ -225,7 +225,7 @@ Most useful when used with .Fl A . .El .\" -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .\" .Sh SEE ALSO diff --git a/usr.sbin/nfsd/nfsd.8 b/usr.sbin/nfsd/nfsd.8 index df614e7a9f6a..64c181e66c9c 100644 --- a/usr.sbin/nfsd/nfsd.8 +++ b/usr.sbin/nfsd/nfsd.8 @@ -172,7 +172,7 @@ If you have to kill .Nm just do a .Dq Li "kill -USR1 <PID of master nfsd>" -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr nfsstat 1 , diff --git a/usr.sbin/ngctl/ngctl.8 b/usr.sbin/ngctl/ngctl.8 index 121c0f17e50e..ce77069d3185 100644 --- a/usr.sbin/ngctl/ngctl.8 +++ b/usr.sbin/ngctl/ngctl.8 @@ -124,7 +124,7 @@ The .Dq help command displays the available commands, their usage and aliases, and a brief description. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr netgraph 3 , diff --git a/usr.sbin/pcvt/ispcvt/ispcvt.8 b/usr.sbin/pcvt/ispcvt/ispcvt.8 index b9eee0a86c3a..8e73e0929182 100644 --- a/usr.sbin/pcvt/ispcvt/ispcvt.8 +++ b/usr.sbin/pcvt/ispcvt/ispcvt.8 @@ -73,7 +73,7 @@ with the .Fl c option gives a verbose listing of the compile-time options. .El -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm utility exits with one of the following values: diff --git a/usr.sbin/periodic/periodic.8 b/usr.sbin/periodic/periodic.8 index 2753bee04185..75bd91493529 100644 --- a/usr.sbin/periodic/periodic.8 +++ b/usr.sbin/periodic/periodic.8 @@ -222,9 +222,10 @@ daily_show_badconfig=NO .Xr periodic.conf 5 , .Xr cron 8 , .Xr newsyslog 8 +.Sh EXIT STATUS +Exit status is 0 on success and 1 if the command fails. .Sh DIAGNOSTICS -Exit status is 0 on success and 1 if the command -fails for one of the following reasons: +The command may fail for one of the following reasons: .Bl -diag .It usage: periodic <directory of files to execute> No directory path argument was passed to diff --git a/usr.sbin/pkg_install/sign/pkg_sign.1 b/usr.sbin/pkg_install/sign/pkg_sign.1 index 118d380f4705..68312940f4a6 100644 --- a/usr.sbin/pkg_install/sign/pkg_sign.1 +++ b/usr.sbin/pkg_install/sign/pkg_sign.1 @@ -128,7 +128,7 @@ signing scheme uses eight bytes markers such .Sq CKSHA1 + length for its signatures (those markers are conveniently eight bytes long). -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm and @@ -139,6 +139,7 @@ For .Nm pkg_check , this usually indicates that the package is not signed, or that the signature is forged. +.Sh DIAGNOSTICS .Bl -diag .It "File %s is already signed" There is a signature embedded within the gzip file already. diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8 index 22795014693a..fb25c46ed481 100644 --- a/usr.sbin/pw/pw.8 +++ b/usr.sbin/pw/pw.8 @@ -821,7 +821,7 @@ The and .Fl q options as described above are accepted by these commands. -.Sh DIAGNOSTICS +.Sh EXIT STATUS The .Nm utility returns EXIT_SUCCESS on successful operation, otherwise diff --git a/usr.sbin/rtprio/rtprio.1 b/usr.sbin/rtprio/rtprio.1 index a694935b54f2..732fb12b7ebd 100644 --- a/usr.sbin/rtprio/rtprio.1 +++ b/usr.sbin/rtprio/rtprio.1 @@ -113,7 +113,7 @@ highest priority of 0 means "the current process". .Pp Only root is allowed to set realtime or idle priority for a process. -.Sh DIAGNOSTICS +.Sh EXIT STATUS If .Nm execute a command, the exit value is that of the command executed. diff --git a/usr.sbin/sa/sa.8 b/usr.sbin/sa/sa.8 index ac78d24ee1d0..68836ab149cf 100644 --- a/usr.sbin/sa/sa.8 +++ b/usr.sbin/sa/sa.8 @@ -204,7 +204,7 @@ flag is specified, only the and .Fl s flags are honored. -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .Sh FILES .Bl -tag -width /var/account/usracct -compact diff --git a/usr.sbin/setkey/setkey.8 b/usr.sbin/setkey/setkey.8 index 380aaa5223d7..427833fb3077 100644 --- a/usr.sbin/setkey/setkey.8 +++ b/usr.sbin/setkey/setkey.8 @@ -633,7 +633,7 @@ algorithm comment deflate rfc2394 .Ed .\" -.Sh DIAGNOSTICS +.Sh EXIT STATUS .Ex -std .\" .Sh EXAMPLES diff --git a/usr.sbin/smbmsg/smbmsg.8 b/usr.sbin/smbmsg/smbmsg.8 index 7bcbf028f4d3..b221ced33469 100644 --- a/usr.sbin/smbmsg/smbmsg.8 +++ b/usr.sbin/smbmsg/smbmsg.8 @@ -259,10 +259,11 @@ Send a command to device at address 0xa0. For the PCF8583 RTC, this would set the clock to Sunday (2004%4)-05-16 22:07:00. -.Sh DIAGNOSTICS +.Sh EXIT STATUS Exit status is 0 on success, or according to .Xr sysexits 3 in case of failure. +.Sh DIAGNOSTICS Diagnostic messages issued are supposed to be self-explanatory. .Sh SEE ALSO .Xr printf 3 , |
