summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-02-11 18:43:53 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-02-11 18:43:53 +0000
commit08be39f5bb2c3749f037ee6a116aec7656b0460b (patch)
tree94d8c274d8fb74b16780ae5b6e401c511d9f84d5 /sbin
parent11661b37fd11040c9eb7ea938591fd8c371e7c9c (diff)
Initial patch.
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
Diffstat (limited to 'sbin')
-rw-r--r--sbin/atactl/atactl.86
-rw-r--r--sbin/dump/dump.84
-rw-r--r--sbin/lmccontrol/lmccontrol.84
-rw-r--r--sbin/mount/mount.814
-rw-r--r--sbin/mount_null/mount_null.84
-rw-r--r--sbin/mount_tcfs/mount_tcfs.84
-rw-r--r--sbin/mount_union/mount_union.88
-rw-r--r--sbin/pfctl/pfctl.810
-rw-r--r--sbin/raidctl/raidctl.858
-rw-r--r--sbin/restore/restore.811
-rw-r--r--sbin/scsi/scsi.88
-rw-r--r--sbin/slattach/slattach.810
-rw-r--r--sbin/sysctl/sysctl.822
-rw-r--r--sbin/umount/umount.84
-rw-r--r--sbin/wsconsctl/wsconsctl.816
15 files changed, 91 insertions, 92 deletions
diff --git a/sbin/atactl/atactl.8 b/sbin/atactl/atactl.8
index bb21552d6d1..c3bdec85d2a 100644
--- a/sbin/atactl/atactl.8
+++ b/sbin/atactl/atactl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: atactl.8,v 1.11 2001/12/21 11:41:50 mpech Exp $
+.\" $OpenBSD: atactl.8,v 1.12 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: atactl.8,v 1.5 1999/02/24 18:49:14 jwise Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -283,13 +283,13 @@ The
.Xr wd 4
driver performs a cache flush automatically before shutdown.
.Sh EXAMPLES
-.Cm atactl /dev/wd0c identify
+.Cm # atactl /dev/wd0c identify
.Pp
Displays the vendor, product, revision strings and capabilities (such as
support for SMART) as reported by
.Pa /dev/wd0 .
.Pp
-.Cm atactl /dev/wd1c smartenable
+.Cm # atactl /dev/wd1c smartenable
.Pp
Enables the SMART support on
.Pa /dev/wd1
diff --git a/sbin/dump/dump.8 b/sbin/dump/dump.8
index 0e909fd9db4..96475da882a 100644
--- a/sbin/dump/dump.8
+++ b/sbin/dump/dump.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dump.8,v 1.26 2001/12/13 20:16:48 mpech Exp $
+.\" $OpenBSD: dump.8,v 1.27 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: dump.8,v 1.17 1997/06/05 11:15:06 lukem Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -318,7 +318,7 @@ to minimize the number of tapes follows:
.It
Always start with a level 0 backup, for example:
.Bd -literal -offset indent
-/sbin/dump -0u -f /dev/nrst1 /usr/src
+# /sbin/dump -0u -f /dev/nrst1 /usr/src
.Ed
.Pp
This should be done at set intervals, say once a month or once every two months,
diff --git a/sbin/lmccontrol/lmccontrol.8 b/sbin/lmccontrol/lmccontrol.8
index 1a5d875537b..102c6665ac3 100644
--- a/sbin/lmccontrol/lmccontrol.8
+++ b/sbin/lmccontrol/lmccontrol.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lmccontrol.8,v 1.9 2001/12/21 11:41:50 mpech Exp $
+.\" $OpenBSD: lmccontrol.8,v 1.10 2002/02/11 18:43:51 mpech Exp $
.\"
.\" Copyright (c) 1997-1999 LAN Media Corporation (LMC)
.\" All rights reserved. www.lanmedia.com
@@ -121,7 +121,7 @@ power).
To set a SSI card for a speed of 2048000 bits/sec with HDLC keepalive off,
one could use:
.Bd -unfilled -offset indent
-lmccontrol lmc0 -l 2048000 -K
+# lmccontrol lmc0 -l 2048000 -K
.Ed
.Sh SEE ALSO
.Xr lmc 4 ,
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index 0e1f163737b..943bcc0a32a 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.8,v 1.35 2002/01/24 21:32:05 mickey Exp $
+.\" $OpenBSD: mount.8,v 1.36 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
@@ -218,14 +218,14 @@ For example, the
.Nm
command:
.Bd -literal -offset indent
-mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp
+# mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp
.Ed
.Pp
causes
.Nm
to execute the equivalent of:
.Bd -literal -offset indent
-/sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp
+# /sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp
.Ed
.It Fl r
The file system is to be mounted read-only.
@@ -257,7 +257,7 @@ For example, the
.Nm
command:
.Bd -literal -offset indent
-mount -a -t nonfs,mfs
+# mount -a -t nonfs,mfs
.Ed
.Pp
mounts all filesystems except those of type
@@ -308,9 +308,9 @@ Fast File Systems are described in the
manual page.
.Sh EXAMPLES
.Bd -literal
-mount -t cd9660 -r /dev/cd0a /mnt/cdrom
-mount -t msdos /dev/fd0a /mnt/floppy
-mount host:/path/name /mnt/nfs
+# mount -t cd9660 -r /dev/cd0a /mnt/cdrom
+# mount -t msdos /dev/fd0a /mnt/floppy
+# mount host:/path/name /mnt/nfs
.Ed
.Sh FILES
.Bl -tag -width /etc/fstab -compact
diff --git a/sbin/mount_null/mount_null.8 b/sbin/mount_null/mount_null.8
index 99eb6bed86e..dbb03b82d48 100644
--- a/sbin/mount_null/mount_null.8
+++ b/sbin/mount_null/mount_null.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount_null.8,v 1.15 2000/11/09 17:53:00 aaron Exp $
+.\" $OpenBSD: mount_null.8,v 1.16 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: mount_null.8,v 1.4 1996/04/10 20:57:19 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993, 1994
@@ -149,7 +149,7 @@ vnode before returning it to the caller.
.Pp
For example, imagine mounting a null layer with
.Bd -literal -offset indent
-mount_null /usr/include /dev/layer/null
+# mount_null /usr/include /dev/layer/null
.Ed
.Pp
Changing directory to
diff --git a/sbin/mount_tcfs/mount_tcfs.8 b/sbin/mount_tcfs/mount_tcfs.8
index 4ac861ff1b9..4cd84786351 100644
--- a/sbin/mount_tcfs/mount_tcfs.8
+++ b/sbin/mount_tcfs/mount_tcfs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount_tcfs.8,v 1.6 2001/12/21 11:41:50 mpech Exp $
+.\" $OpenBSD: mount_tcfs.8,v 1.7 2002/02/11 18:43:51 mpech Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -53,7 +53,7 @@ users who own a proper key.
.Sh EXAMPLES
The command
.Bd -literal -offset indent
-mount_tcfs -o cipher=2 /mnt2 /mnt/tcfs
+# mount_tcfs -o cipher=2 /mnt2 /mnt/tcfs
.Ed
.Pp
mount the ffs filesystem
diff --git a/sbin/mount_union/mount_union.8 b/sbin/mount_union/mount_union.8
index 5ef02f279bc..357e4ec8351 100644
--- a/sbin/mount_union/mount_union.8
+++ b/sbin/mount_union/mount_union.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount_union.8,v 1.11 2001/06/08 13:46:52 aaron Exp $
+.\" $OpenBSD: mount_union.8,v 1.12 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: mount_union.8,v 1.4 1995/09/29 06:44:02 jtc Exp $
.\"
.\" Copyright (c) 1994
@@ -148,8 +148,8 @@ and then only for lookups.
.Sh EXAMPLES
The commands
.Bd -literal -offset indent
-mount -t cd9660 -o ro /dev/cd0a /usr/src
-mount -t union /var/obj /usr/src
+# mount -t cd9660 -o ro /dev/cd0a /usr/src
+# mount -t union /var/obj /usr/src
.Ed
.Pp
mount the CD-ROM drive
@@ -165,7 +165,7 @@ even though it is stored on a CD-ROM.
.Pp
The command
.Bd -literal -offset indent
-mount -t union -o -b /sys $HOME/sys
+# mount -t union -o -b /sys $HOME/sys
.Ed
.Pp
attaches the system source tree below the
diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8
index 07b79fd4a88..74c1ef2e1b8 100644
--- a/sbin/pfctl/pfctl.8
+++ b/sbin/pfctl/pfctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pfctl.8,v 1.39 2002/01/09 11:30:53 dhartmei Exp $
+.\" $OpenBSD: pfctl.8,v 1.40 2002/02/11 18:43:51 mpech Exp $
.\"
.\" Copyright (c) 2001 Kjell Wooding. All rights reserved.
.\"
@@ -238,11 +238,11 @@ Other protocols are handled similarly to UDP:
.El
.Bd -literal
Example:
- # Timeout established connections after an hour of inactivity
- pfctl -t tcp.established=3600
+ Timeout established connections after an hour of inactivity
+ # pfctl -t tcp.established=3600
- # Display the current established idle timeout
- pfctl -t tcp.established
+ Display the current established idle timeout
+ # pfctl -t tcp.established
.Ed
.It Fl v
Produce more verbose output.
diff --git a/sbin/raidctl/raidctl.8 b/sbin/raidctl/raidctl.8
index 4229a6ec6f3..a466ca9e6c2 100644
--- a/sbin/raidctl/raidctl.8
+++ b/sbin/raidctl/raidctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: raidctl.8,v 1.20 2002/01/05 13:47:37 tdeval Exp $
+.\" $OpenBSD: raidctl.8,v 1.21 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: raidctl.8,v 1.24 2001/07/10 01:30:52 lukem Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -550,7 +550,7 @@ The first time a RAID set is configured, the
.Fl C
option must be used:
.Bd -unfilled -offset indent
-raidctl -C raid0.conf raid0
+# raidctl -C raid0.conf raid0
.Ed
.Pp
where
@@ -568,14 +568,14 @@ appropriate component labels are added with the
.Fl I
option) then raid0 can be configured normally with:
.Bd -unfilled -offset indent
-raidctl -c raid0.conf raid0
+# raidctl -c raid0.conf raid0
.Ed
.Pp
When the RAID set is configured for the first time, it is
necessary to initialize the component labels, and to initialize the
parity on the RAID set. Initializing the component labels is done with:
.Bd -unfilled -offset indent
-raidctl -I 112341 raid0
+# raidctl -I 112341 raid0
.Ed
.Pp
where
@@ -602,7 +602,7 @@ quite time-consuming, the
option may be also used in conjunction with
.Fl i :
.Bd -unfilled -offset indent
-raidctl -iv raid0
+# raidctl -iv raid0
.Ed
.Pp
This will give more verbose output on the
@@ -675,14 +675,14 @@ resumed.
.Ss Maintenance of the RAID set
After the parity has been initialized for the first time, the command:
.Bd -unfilled -offset indent
-raidctl -p raid0
+# raidctl -p raid0
.Ed
.Pp
can be used to check the current status of the parity. To check the
parity and rebuild it necessary (for example, after an unclean
shutdown) the command:
.Bd -unfilled -offset indent
-raidctl -P raid0
+# raidctl -P raid0
.Ed
.Pp
is used. Note that re-writing the parity can be done while
@@ -695,7 +695,7 @@ data on the set is modified.
To see how the RAID set is doing, the following command can be used to
show the RAID set's status:
.Bd -unfilled -offset indent
-raidctl -s raid0
+# raidctl -s raid0
.Ed
.Pp
The output will look something like:
@@ -728,7 +728,7 @@ The
option may be also used in conjunction with
.Fl s :
.Bd -unfilled -offset indent
-raidctl -sv raid0
+# raidctl -sv raid0
.Ed
.Pp
In this case, the components' label information (see the
@@ -773,7 +773,7 @@ Copyback is 100% complete.
.Pp
To check the component label of /dev/sd1e, the following is used:
.Bd -unfilled -offset indent
-raidctl -g /dev/sd1e raid0
+# raidctl -g /dev/sd1e raid0
.Ed
.Pp
The output of this command will look something like:
@@ -793,7 +793,7 @@ If for some reason
(perhaps to test reconstruction) it is necessary to pretend a drive
has failed, the following will perform that function:
.Bd -unfilled -offset indent
-raidctl -f /dev/sd2e raid0
+# raidctl -f /dev/sd2e raid0
.Ed
.Pp
The system will then be performing all operations in degraded mode,
@@ -815,7 +815,7 @@ start a reconstruction, the
.Fl F
option must be used:
.Bd -unfilled -offset indent
-raidctl -F /dev/sd2e raid0
+# raidctl -F /dev/sd2e raid0
.Ed
.Pp
The
@@ -917,7 +917,7 @@ No spares.
In this case there are a number of options. The first option is to add a hot
spare using:
.Bd -unfilled -offset indent
-raidctl -a /dev/sd4e raid0
+# raidctl -a /dev/sd4e raid0
.Ed
.Pp
After the hot add, the status would then be:
@@ -937,7 +937,7 @@ as describe above.
A second option is to rebuild directly onto /dev/sd2e. Once the disk
containing /dev/sd2e has been replaced, one can simply use:
.Bd -unfilled -offset indent
-raidctl -R /dev/sd2e raid0
+# raidctl -R /dev/sd2e raid0
.Ed
.Pp
to rebuild the /dev/sd2e component. As the rebuilding is in progress,
@@ -976,8 +976,8 @@ can be used anywhere a normal component name would be used. For
example, to add a hot spare to the above set, and rebuild to that hot
spare, the following could be done:
.Bd -unfilled -offset indent
-raidctl -a /dev/sd3e raid0
-raidctl -F component1 raid0
+# raidctl -a /dev/sd3e raid0
+# raidctl -F component1 raid0
.Ed
.Pp
at which point the data missing from
@@ -1017,13 +1017,13 @@ RAID sets can also be auto-configured at boot. To make a set
auto-configurable, simply prepare the RAID set as above, and then do
a:
.Bd -unfilled -offset indent
-raidctl -A yes raid0
+# raidctl -A yes raid0
.Ed
.Pp
to turn on auto-configuration for that set. To turn off
auto-configuration, use:
.Bd -unfilled -offset indent
-raidctl -A no raid0
+# raidctl -A no raid0
.Ed
.Pp
RAID sets which are auto-configurable will be configured before the
@@ -1044,7 +1044,7 @@ partition of such a RAID set being used for
.Pa / .
To use raid0a as the root file system, simply use:
.Bd -unfilled -offset indent
-raidctl -A root raid0
+# raidctl -A root raid0
.Ed
.Pp
To return raid0a to be just an auto-configuring set simply use the
@@ -1133,7 +1133,7 @@ is to unconfigure a
.Xr raid 4
device. This is accomplished via a simple:
.Bd -unfilled -offset indent
-raidctl -u raid0
+# raidctl -u raid0
.Ed
.Pp
at which point the device is ready to be reconfigured.
@@ -1234,55 +1234,55 @@ Construct a RAID configuration file: e.g.
.It
Configure the RAID set with:
.Bd -unfilled -offset indent
-raidctl -C raid0.conf raid0
+# raidctl -C raid0.conf raid0
.Ed
.Pp
.It
Initialize the component labels with:
.Bd -unfilled -offset indent
-raidctl -I 123456 raid0
+# raidctl -I 123456 raid0
.Ed
.Pp
.It
Initialize other important parts of the set with:
.Bd -unfilled -offset indent
-raidctl -i raid0
+# raidctl -i raid0
.Ed
.Pp
.It
Get the default label for the RAID set:
.Bd -unfilled -offset indent
-disklabel raid0 > /tmp/label
+# disklabel raid0 > /tmp/label
.Ed
.Pp
.It
Edit the label:
.Bd -unfilled -offset indent
-vi /tmp/label
+# vi /tmp/label
.Ed
.Pp
.It
Put the new label on the RAID set:
.Bd -unfilled -offset indent
-disklabel -R -r raid0 /tmp/label
+# disklabel -R -r raid0 /tmp/label
.Ed
.Pp
.It
Create the file system:
.Bd -unfilled -offset indent
-newfs /dev/rraid0e
+# newfs /dev/rraid0e
.Ed
.Pp
.It
Mount the file system:
.Bd -unfilled -offset indent
-mount /dev/raid0e /mnt
+# mount /dev/raid0e /mnt
.Ed
.Pp
.It
Use:
.Bd -unfilled -offset indent
-raidctl -c raid0.conf raid0
+# raidctl -c raid0.conf raid0
.Ed
.Pp
To re-configure the RAID set the next time it is needed, or put
diff --git a/sbin/restore/restore.8 b/sbin/restore/restore.8
index 7cd7ff784b1..d4ddaf63e60 100644
--- a/sbin/restore/restore.8
+++ b/sbin/restore/restore.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: restore.8,v 1.20 2001/10/04 22:33:49 ho Exp $
+.\" $OpenBSD: restore.8,v 1.21 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: restore.8,v 1.15 1997/07/01 05:37:53 lukem Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
@@ -202,11 +202,10 @@ flag precludes an interactive file extraction and can be
detrimental to one's health (not to mention the disk) if not used carefully.
An example:
.Bd -literal -offset indent
-newfs /dev/rrp0g eagle
-mount /dev/rp0g /mnt
-cd /mnt
-
-restore rf /dev/rst8
+# newfs /dev/rrp0g eagle
+# mount /dev/rp0g /mnt
+# cd /mnt
+# restore rf /dev/rst8
.Ed
.Pp
Note that
diff --git a/sbin/scsi/scsi.8 b/sbin/scsi/scsi.8
index d4debd6294b..cc6ffe8512d 100644
--- a/sbin/scsi/scsi.8
+++ b/sbin/scsi/scsi.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scsi.8,v 1.19 2001/08/20 05:57:55 mpech Exp $
+.\" $OpenBSD: scsi.8,v 1.20 2002/02/11 18:43:51 mpech Exp $
.\" $FreeBSD: scsi.8,v 1.5 1995/05/05 20:41:58 dufault Exp $
.\"
.\" Written By Julian ELischer
@@ -242,20 +242,20 @@ bytes of data input should be written to the standard output.
To verify that the device type for the disk /dev/rsd0c is 0
(direct access device):
.Bd -literal -offset
-root# scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 64 "*b3 b5"
+# scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 64 "*b3 b5"
0
.Ed
.Pp
To do an inquiry to /dev/rsd2c:
.Bd -literal -offset
-root# scsi -f /dev/rsd2c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4"
+# scsi -f /dev/rsd2c -c "12 0 0 0 64 0" -i 64 "s8 z8 z16 z4"
FUJITSU M2654S-512 010P
.Ed
.Pp
To edit mode page 1 on /dev/rsd2c and store it permanently on the
drive (set AWRE and ARRE to 1 to enable bad block remapping):
.Bd -literal -offset
-root# scsi -f /dev/rsd2c -m 1 -e -P 3
+# scsi -f /dev/rsd2c -m 1 -e -P 3
.Ed
.Sh ENVIRONMENT
The
diff --git a/sbin/slattach/slattach.8 b/sbin/slattach/slattach.8
index 38bdd581d91..d3c714fdf8d 100644
--- a/sbin/slattach/slattach.8
+++ b/sbin/slattach/slattach.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: slattach.8,v 1.11 2000/04/15 11:45:58 aaron Exp $
+.\" $OpenBSD: slattach.8,v 1.12 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: slattach.8,v 1.12 1995/03/18 15:01:12 cgd Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
@@ -102,10 +102,10 @@ is the name that is shown by
.Xr netstat 1 .
.Sh EXAMPLES
.Bd -literal -offset indent -compact
-ifconfig sl0 10.0.0.1 10.0.0.2 link0 link2 up
-slattach ttyh8
-ifconfig sl1 192.168.0.1 192.168.0.2 link0 up
-slattach \-s 4800 /dev/tty01
+# ifconfig sl0 10.0.0.1 10.0.0.2 link0 link2 up
+# slattach ttyh8
+# ifconfig sl1 192.168.0.1 192.168.0.2 link0 up
+# slattach \-s 4800 /dev/tty01
.Ed
.Sh DIAGNOSTICS
Messages indicating the specified interface does not exist, the
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 3cc9fd46266..1cbb1892edb 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.76 2002/02/10 22:09:24 nate Exp $
+.\" $OpenBSD: sysctl.8,v 1.77 2002/02/11 18:43:51 mpech Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -74,7 +74,7 @@ suppress printing of the field name, only output the field value.
Useful for setting shell variables.
For example:
.Bd -literal -offset indent -compact
-set psize=`sysctl -n hw.pagesize`
+# set psize=`sysctl -n hw.pagesize`
.Ed
.Pp
If just a MIB style name is given,
@@ -329,23 +329,23 @@ flag lists all the filesystems compiled into the running kernel.
For example, to retrieve the maximum number of processes allowed
in the system, one would use the follow request:
.Bd -literal -offset indent -compact
-sysctl kern.maxproc
+$ sysctl kern.maxproc
.Ed
.Pp
To set the maximum number of processes allowed
in the system to 1000, one would use the follow request:
.Bd -literal -offset indent -compact
-sysctl -w kern.maxproc=1000
+# sysctl -w kern.maxproc=1000
.Ed
.Pp
Information about the system clock rate may be obtained with:
.Bd -literal -offset indent -compact
-sysctl kern.clockrate
+$ sysctl kern.clockrate
.Ed
.Pp
Information about the load average history may be obtained with
.Bd -literal -offset indent -compact
-sysctl vm.loadavg
+$ sysctl vm.loadavg
.Ed
.Pp
To make the
@@ -353,7 +353,7 @@ To make the
system call use traditional BSD semantics (don't clear setuid/setgid bits),
one would do the following:
.Bd -literal -offset indent -compact
-sysctl -w fs.posix.setuid=0
+# sysctl -w fs.posix.setuid=0
.Ed
.Pp
Set the list of reserved TCP ports that should not be allocated
@@ -362,13 +362,13 @@ This can be used to keep daemons
from stealing a specific port that another program needs to function.
List elements may be separated by commas and/or whitespace.
.Bd -literal -offset indent -compact
-sysctl -w net.inet.tcp.baddynamic=749,750,751,760,761,871
+# sysctl -w net.inet.tcp.baddynamic=749,750,751,760,761,871
.Ed
.Pp
It is also possible to add or remove ports from the current list.
.Bd -literal -offset indent -compact
-sysctl -w net.inet.tcp.baddynamic=+748
-sysctl -w net.inet.tcp.baddynamic=-871
+# sysctl -w net.inet.tcp.baddynamic=+748
+# sysctl -w net.inet.tcp.baddynamic=-871
.Ed
.Pp
To adjust the number of kernel
@@ -376,7 +376,7 @@ To adjust the number of kernel
threads used to service asynchronous
I/O requests on an NFS client machine use
.Bd -literal -offset indent -compact
-sysctl -w vfs.nfs.iothreads=4
+# sysctl -w vfs.nfs.iothreads=4
.Ed
.Pp
The number of 4 is the default, where the 20 is the maximum.
diff --git a/sbin/umount/umount.8 b/sbin/umount/umount.8
index 51c319d26ec..18b1d9b6588 100644
--- a/sbin/umount/umount.8
+++ b/sbin/umount/umount.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: umount.8,v 1.9 2002/01/24 21:32:06 mickey Exp $
+.\" $OpenBSD: umount.8,v 1.10 2002/02/11 18:43:52 mpech Exp $
.\" $NetBSD: umount.8,v 1.2 1995/03/18 15:01:35 cgd Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
@@ -100,7 +100,7 @@ For example, the
.Nm
command:
.Bd -literal -offset indent
-umount -a -t nfs,mfs
+# umount -a -t nfs,mfs
.Ed
.Pp
umounts all filesystems of the type
diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8
index 13e6825040c..27d23915ad5 100644
--- a/sbin/wsconsctl/wsconsctl.8
+++ b/sbin/wsconsctl/wsconsctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wsconsctl.8,v 1.11 2001/12/21 11:41:50 mpech Exp $
+.\" $OpenBSD: wsconsctl.8,v 1.12 2002/02/11 18:43:52 mpech Exp $
.\" $NetBSD: wsconsctl.8,v 1.5 1999/09/12 18:47:11 kleink Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -111,11 +111,11 @@ Use the
utility to determine which keyboard encodings are available for your
country.
.Sh EXAMPLES
-.Cm wsconsctl -w keyboard.encoding=uk
+.Cm # wsconsctl -w keyboard.encoding=uk
.Pp
Sets a UK keyboard encoding.
.Pp
-.Cm wsconsctl -w keyboard.map+="keysym Caps_Lock = Control_L"
+.Cm # wsconsctl -w keyboard.map+="keysym Caps_Lock = Control_L"
.Pp
Modifies the current keyboard encoding so that, when the
.Ar Caps Lock
@@ -127,13 +127,13 @@ to the
.Ar /usr/include/dev/wscons/wsksymdef.h
file.
.Pp
-.Cm wsconsctl -w keyboard.map+="keycode 184=Mode_switch"
+.Cm # wsconsctl -w keyboard.map+="keycode 184=Mode_switch"
.Pp
Assigns the
.Ar Right Alt
key to be the group modifier (layout is changed while the key is pressed).
.Pp
-.Cm wsconsctl -w keyboard.map+="keycode 157=Mode_Lock"
+.Cm # wsconsctl -w keyboard.map+="keycode 157=Mode_Lock"
.Pp
Assigns the
.Ar Right Control
@@ -149,7 +149,7 @@ and
.Ar Shift
behaviour.
.Pp
-.Cm wsconsctl -w keyboard.encoding=us.swapctrlcaps
+.Cm # wsconsctl -w keyboard.encoding=us.swapctrlcaps
.Pp
Sets a US keyboard encoding, with the
.Ar Caps Lock
@@ -164,11 +164,11 @@ by the
.Ar Caps Lock
key is enough - see the previous example for details.
.Pp
-.Cm wsconsctl -w keyboard.bell.pitch=1200
+.Cm # wsconsctl -w keyboard.bell.pitch=1200
.Pp
Sets the bell pitch to be 1200.
.Pp
-.Cm wsconsctl -w keyboard.bell.pitch+=200
+.Cm # wsconsctl -w keyboard.bell.pitch+=200
.Pp
Adds 200 to the current pitch of the bell.
.Sh FILES