diff options
author | mtm <mtm@FreeBSD.org> | 2008-06-23 22:17:08 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-06-23 22:17:08 +0000 |
commit | 06cbeaa6942a32291d05da26533f5a09d238894f (patch) | |
tree | d809f15133e9096f9965e54e18313122d843e8a6 /sbin/swapon/swapon.8 | |
parent | 5b37d9eba744dee55431a0426bafd09eef483fea (diff) | |
download | FreeBSD-src-06cbeaa6942a32291d05da26533f5a09d238894f.zip FreeBSD-src-06cbeaa6942a32291d05da26533f5a09d238894f.tar.gz |
Add a -q flag to swapon(8) to suppress informational messages. Use it in
rc.d.
Note: errors are not affected by this flag.
Diffstat (limited to 'sbin/swapon/swapon.8')
-rw-r--r-- | sbin/swapon/swapon.8 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sbin/swapon/swapon.8 b/sbin/swapon/swapon.8 index 1af8d99..40dba74 100644 --- a/sbin/swapon/swapon.8 +++ b/sbin/swapon/swapon.8 @@ -28,15 +28,15 @@ .\" @(#)swapon.8 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd April 29, 2008 +.Dd June 23, 2008 .Dt SWAPON 8 .Os .Sh NAME .Nm swapon , swapoff , swapctl .Nd "specify devices for paging and swapping" .Sh SYNOPSIS -.Nm swapon Fl a | Ar -.Nm swapoff Fl a | Ar +.Nm swapon Fl aq | Ar +.Nm swapoff Fl aq | Ar .Nm swapctl .Op Fl AghklmsU .Oo @@ -69,6 +69,10 @@ option is used, all swap devices in will be added, unless their .Dq noauto option is also set. +If the +.Fl q +option is used informational messages will not be +written to standard output when a swap device is added. .Pp The .Nm swapoff @@ -80,6 +84,10 @@ option is used, all swap devices in will be removed, unless their .Dq noauto option is also set. +If the +.Fl q +option is used informational messages will not be +written to standard output when a swap device is removed. Note that .Nm swapoff will fail and refuse to remove a swap device if there is insufficient |