diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/atactl/atactl.8 | 118 | ||||
-rw-r--r-- | sbin/disklabel/disklabel.8 | 14 | ||||
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 4 | ||||
-rw-r--r-- | sbin/lmccontrol/lmccontrol.8 | 4 | ||||
-rw-r--r-- | sbin/mount/mount.8 | 8 | ||||
-rw-r--r-- | sbin/wsconsctl/wsconsctl.8 | 16 |
6 files changed, 82 insertions, 82 deletions
diff --git a/sbin/atactl/atactl.8 b/sbin/atactl/atactl.8 index 542edcfda7b..c2fb47f64f4 100644 --- a/sbin/atactl/atactl.8 +++ b/sbin/atactl/atactl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: atactl.8,v 1.22 2003/01/29 16:53:37 jmc Exp $ +.\" $OpenBSD: atactl.8,v 1.23 2003/03/12 20:12:36 deraadt Exp $ .\" $NetBSD: atactl.8,v 1.5 1999/02/24 18:49:14 jwise Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -62,25 +62,25 @@ If the is specified without a .Ar command , the -.Cm identify +.Li identify command is implied. .Pp The following commands may be used: .Pp .Bl -tag -width xxxxxxx -compact -.It Cm identify +.It Li identify Identify the specified device, displaying the device's vendor, product, revision strings, supported capabilities and enabled capabilities. .Pp -.It Cm idle +.It Li idle Place the specified device into Idle mode. This mode may consume less power than Active mode. .Pp -.It Cm standby +.It Li standby Place the specified device into Standby mode. This mode will consume less power than Idle mode. .Pp -.It Cm sleep +.It Li sleep Place the specified device into Sleep mode. This mode will consume less power than Standby mode, but requires a device reset to resume operation. @@ -89,25 +89,25 @@ Typically the driver performs this reset automatically, but this should still be used with caution. .Pp -.It Cm setidle Ar standby-timer +.It Li setidle Ar standby-timer Places the specified device into Idle mode, and sets the Standby timer to .Ar standby-timer seconds. A value of 0 will disable the Standby timer. .Pp -.It Cm setstandby Ar standby-timer +.It Li setstandby Ar standby-timer Places the specified device into Standby mode, and sets the Standby timer to .Ar standby-timer seconds. A value of 0 will disable the Standby timer. .Pp -.It Cm checkpower +.It Li checkpower Will print out if the device is in Active, Idle, or Standby power management mode. .Pp -.It Cm apmset Ar power-management-level +.It Li apmset Ar power-management-level Enables and sets the advanced power management level to the requested level on the specified device (if supported). Device performance may @@ -127,17 +127,17 @@ standby mode and are more suitable for optimization for performance. Support for advanced power management is indicated by the device with .Sq Advanced Power Management feature set in the output of the -.Cm identify +.Li identify command. .Pp -.It Cm apmdisable +.It Li apmdisable Disables support for advanced power management on the specified device. Note that devices supporting advanced power management may refuse to disable it, resulting in an .Sq ATA device returned Aborted Command warning. .Pp -.It Cm acousticset Ar acoustic-management-level +.It Li acousticset Ar acoustic-management-level Enables and sets the automatic acoustic management level to the requested level on the specified device (if supported). Device performance may @@ -147,25 +147,25 @@ Valid values are 0 up to and including 126. Support for automatic acoustic management is indicated by the device with .Sq Automatic Acoustic Management feature set in the output of the -.Cm identify +.Li identify command. .Pp -.It Cm acousticdisable +.It Li acousticdisable Disables support for automatic acoustic management on the specified device. Note that devices supporting automatic acoustic management may refuse to disable it, resulting in an .Sq ATA device returned Aborted Command warning. .Pp -.It Cm podenable +.It Li podenable Allows the specified device to revert to power-on default (pod) settings after a reset. .Pp -.It Cm poddisable +.It Li poddisable Disallows the specified device to revert to power-on default (pod) settings after a reset. .Pp -.It Cm puisenable +.It Li puisenable Enables power-up in standby (puis) on the specified device, causing the device to wait while spinning up the disks after power-up. This may cause problems at boot if the device is too slow in spin-up. @@ -177,31 +177,31 @@ hardware and software resets. Support for power-up in standby is indicated by the device with .Sq Power-up in standby feature set in the output of the -.Cm identify +.Li identify command. .Pp -.It Cm puisdisable +.It Li puisdisable Disables power-up in standby (puis) on the specified device, causing the device to spin up the disks after power-up. This should be the factory default setting of the device and it is recommended to leave this setting disabled. .Pp -.It Cm puisspinup +.It Li puisspinup Explicitly spins up the device if power-up in standby (puis) mode is enabled. .Pp -.It Cm readaheadenable +.It Li readaheadenable Enables read look-ahead on the specified device. This may increase performance. Support for and status of read look-ahead is indicated by the device with .Sq read look-ahead in the output of the -.Cm identify +.Li identify command. .Pp -.It Cm readaheaddisable +.It Li readaheaddisable Disables read look-ahead on the specified device. This may decrease performance. Note that the device may use @@ -211,8 +211,8 @@ behaviour in implementing this, so it is recommended to issue this command on a disk containing any currently mounted filesystems. .Pp -.It Cm secsetpass Ar user Ar high|maximum -.It Cm secsetpass Ar master +.It Li secsetpass Ar user Ar high|maximum +.It Li secsetpass Ar master Sets password and security level for the specified device. There are two passwords, user and master, and two security levels, high and maximum. @@ -222,7 +222,7 @@ this command. When the security system is enabled, access to user data on the device is denied after a power cycle until the user password is sent to the device with the -.Cm secunlock +.Li secunlock command. A master password may be set in addition to the user password. The purpose of the master password is to allow an administrator to establish @@ -231,36 +231,36 @@ the device if the user password is lost. Setting the master password does not enable security system. Each master password change decrements the master password revision code value which is displayed in the -.Cm identify +.Li identify command output if supported. After value 0x0001 is reached the next value will be 0xfffe. The security level determines device behavior when the master password is used to unlock the device. When the security level is set to high the device requires the -.Cm secunlock +.Li secunlock command if the master password is used to unlock. When the security level is set to maximum the device requires a -.Cm secerase +.Li secerase command if the master password is used to unlock it. Execution of the -.Cm secerase +.Li secerase command erases all user data on the device. .Pp -.It Cm secunlock Ar user|master +.It Li secunlock Ar user|master Unlocks the specified device with user or master password. The device will always unlock if a valid user password is received. If the security level was set to high during the last -.Cm secsetpass +.Li secsetpass command, the device will unlock if the master password is received. If the security level was set to maximum during the last -.Cm secsetpass +.Li secsetpass command, the device won't unlock even if the master password is received. .Pp -.It Cm secerase Ar user|master Op Ar enhanced +.It Li secerase Ar user|master Op Ar enhanced Erases all user data and unlocks the specified device. Execution of this command with the master password is the only way to unlock a device locked at maximum security level with the -.Cm secsetpass +.Li secsetpass command if the user's password is lost or unknown. There are two erase modes: normal and enhanced. Default erase mode is normal. @@ -275,14 +275,14 @@ This command will disable the device lock mode, however, the master password will still be stored internally within the device and may be reactivated later when a new user password is set. .Pp -.It Cm secfreeze +.It Li secfreeze Prevents changes to passwords until a following power cycle. The purpose of this command is to prevent password setting attacks on the security system. After command completion any other commands that update the device lock mode will be aborted. .Pp -.It Cm secdisablepass Ar user|master +.It Li secdisablepass Ar user|master Disables the lock mode for the specified device with user or master password. This command won't change the master password. The master password will be reactivated when a user password is set. @@ -290,7 +290,7 @@ The master password will be reactivated when a user password is set. Support for the security commands is indicated by the device with .Sq Security Mode feature set in the output of the -.Cm identify +.Li identify command. .Pp .Em WARNING @@ -299,7 +299,7 @@ Be very careful while playing with these commands. Loss of the user and master passwords for the device will result in an inaccessible device. .Pp -.It Cm smartenable +.It Li smartenable Enables SMART (Self-Monitoring, Analysis, and Reporting Technology) on the specified device (if supported). This causes the device to record information @@ -307,10 +307,10 @@ for prediction of device degradation and/or faults. Support for SMART is indicated by the device with .Sq SMART feature set in the output of the -.Cm identify +.Li identify command. .Pp -.It Cm smartdisable +.It Li smartdisable Disables support for SMART on the specified device. Note that this means that the device will no longer record any SMART information. @@ -320,7 +320,7 @@ Note that SMART be enabled while executing the following commands or the device will return an error. .Pp -.It Cm smartstatus +.It Li smartstatus Reads the reliability status of the specified device. If the device reports that one of its thresholds is exceeded (a strong indication of imminent @@ -328,10 +328,10 @@ failure), the warning .Sq SMART threshold exceeded! is printed to stderr and a status of 2 is returned. .Pp -.It Cm smartautosave Ar enable|disable +.It Li smartautosave Ar enable|disable Enables/disables attribute autosave feature on the specified device. .Pp -.It Cm smartoffline Ar subcommand +.It Li smartoffline Ar subcommand Causes the specified device to immediately initiate the optional set of activities that collect SMART data in off-line mode and then save this data to the device's non-volatile memory, or execute self-diagnostic test @@ -366,11 +366,11 @@ This option is therefore .Em not recommended unless the implications are understood. .Pp -.It Cm smartread +.It Li smartread Reads various SMART information from the specified device and prints it to stdout. .Pp -.It Cm smartreadlog Ar log +.It Li smartreadlog Ar log Reads specified .Ar log and prints it to stdout. @@ -392,7 +392,7 @@ The comprehensive error log. The self-test log. .El .Pp -.It Cm readattr +.It Li readattr Displays attribute thresholds and values for the specified device. Besides attribute values, device vendors may provide additional information shown in the last column, ``Raw''. @@ -402,19 +402,19 @@ SMART must be enabled while executing this command or the device will return an error. .Pp SMART commands and -.Cm readattr +.Li readattr command are for experts only. .Pp -.It Cm writecachedisable +.It Li writecachedisable Disable the write cache on the specified device (if supported). This may decrease performance. Support for and status of write caching is indicated by the device with .Sq write cache in the output of the -.Cm identify +.Li identify command. .Pp -.It Cm writecacheenable +.It Li writecacheenable Enables the write cache on the specified device (if supported). This may increase performance, however data still in the device's cache at powerdown @@ -423,25 +423,25 @@ The .Xr wd 4 driver performs a cache flush automatically before shutdown. .Pp -.It Cm dump +.It Li dump Extracts the records about issued ATA commands from the log buffer. The log buffer is cleared after extraction. .El .Pp .Sh EXAMPLES -.Cm # atactl /dev/wd0c identify +.Li # 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 +.Li # atactl /dev/wd1c smartenable .Pp Enables the SMART support on .Pa /dev/wd1 for detection of early warning signs of device failure. .Pp -.Cm 0 * * * * /sbin/atactl /dev/wd0c smartstatus >/dev/null +.Li 0 * * * * /sbin/atactl /dev/wd0c smartstatus >/dev/null .Pp In a .Xr crontab 5 @@ -459,7 +459,7 @@ will mail it. Not all devices are created equally. Some may not support the feature sets and/or commands needed to perform the requested action, even when the -.Cm identify +.Li identify command indicates support for the requested action. The device will typically respond with an .Sq ATA device returned Aborted Command @@ -486,9 +486,9 @@ standby, read look-ahead and SMART was added in .Ox 2.9 . .Sh BUGS The output from the -.Cm identify +.Li identify command is rather ugly. .Pp Disabling read look-head with the -.Cm readaheaddisable +.Li readaheaddisable might cause problems with mounted filesystems on that device. diff --git a/sbin/disklabel/disklabel.8 b/sbin/disklabel/disklabel.8 index 0d7e79e13e2..c643f35cf70 100644 --- a/sbin/disklabel/disklabel.8 +++ b/sbin/disklabel/disklabel.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: disklabel.8,v 1.49 2003/02/13 00:10:39 tedu Exp $ +.\" $OpenBSD: disklabel.8,v 1.50 2003/03/12 20:12:36 deraadt Exp $ .\" $NetBSD: disklabel.8,v 1.9 1995/03/18 14:54:38 cgd Exp $ .\" .\" Copyright (c) 1987, 1988, 1991, 1993 @@ -514,12 +514,12 @@ with the flag and paste any entries you want from the default label into the real one. .Sh EXAMPLES -.Cm # disklabel sd0 +.Li # disklabel sd0 .Pp Display the in-core label for sd0 as obtained via .Pa /dev/rsd0c . .Pp -.Cm # disklabel -w -r /dev/rsd0c sd2212 foo +.Li # disklabel -w -r /dev/rsd0c sd2212 foo .Pp Create a label for sd0 based on information for .Dq sd2212 @@ -530,7 +530,7 @@ Any existing bootstrap code will be clobbered. .Fl r flag though.) .Pp -.Cm # disklabel -e -r sd0 +.Li # disklabel -e -r sd0 .Pp Read the on-disk label for sd0, edit it and reinstall in-core as well as on-disk. @@ -540,13 +540,13 @@ flag though.) Existing bootstrap code is unaffected. .Pp -.Cm # disklabel -R sd0 mylabel +.Li # disklabel -R sd0 mylabel .Pp Restore the on-disk and in-core label for sd0 from information in .Pa mylabel . Existing bootstrap code is unaffected. .Pp -.Cm # disklabel -B sd0 +.Li # disklabel -B sd0 .Pp Install a new bootstrap on sd0. The boot code comes from @@ -557,7 +557,7 @@ On-disk and in-core labels are unchanged, but on some systems other information may be destroyed. Use with care. .Pp -.Cm # disklabel -w -B /dev/rsd0c -b newboot sd2212 +.Li # disklabel -w -B /dev/rsd0c -b newboot sd2212 .Pp Install a new label and bootstrap. The label is derived from disktab information for diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index b09e6a3b120..80c29393b70 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.63 2003/03/12 09:02:01 mickey Exp $ +.\" $OpenBSD: ifconfig.8,v 1.64 2003/03/12 20:12:36 deraadt Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -259,7 +259,7 @@ would activate twisted pair. Refer to the interfaces' driver specific man page for a complete list of the available types, or use -.Cm ifconfig -m interface +.Li # ifconfig -m interface for a listing of choices. .It Cm mediaopt Ar opts Set the specified media options on the interface. diff --git a/sbin/lmccontrol/lmccontrol.8 b/sbin/lmccontrol/lmccontrol.8 index 949aedc3279..b626b8d62c0 100644 --- a/sbin/lmccontrol/lmccontrol.8 +++ b/sbin/lmccontrol/lmccontrol.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lmccontrol.8,v 1.14 2003/02/03 17:46:57 jmc Exp $ +.\" $OpenBSD: lmccontrol.8,v 1.15 2003/03/12 20:12:36 deraadt 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: .Pp -.Cm # lmccontrol lmc0 -l 2048000 -K +.Li # lmccontrol lmc0 -l 2048000 -K .Pp .Sh SEE ALSO .Xr lmc 4 , diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index 4313f49d741..1edd1b7f93c 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount.8,v 1.38 2003/03/10 19:52:05 tedu Exp $ +.\" $OpenBSD: mount.8,v 1.39 2003/03/12 20:12:36 deraadt Exp $ .\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $ .\" .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -309,11 +309,11 @@ manual page. .Sh EXAMPLES .Bd -literal .Pp -.Cm # mount -t cd9660 -r /dev/cd0a /mnt/cdrom +.Li # mount -t cd9660 -r /dev/cd0a /mnt/cdrom .Pp -.Cm # mount -t msdos /dev/fd0a /mnt/floppy +.Li # mount -t msdos /dev/fd0a /mnt/floppy .Pp -.Cm # mount host:/path/name /mnt/nfs +.Li # mount host:/path/name /mnt/nfs .Pp .Ed .Sh FILES diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8 index 27d23915ad5..e468aa06781 100644 --- a/sbin/wsconsctl/wsconsctl.8 +++ b/sbin/wsconsctl/wsconsctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: wsconsctl.8,v 1.12 2002/02/11 18:43:52 mpech Exp $ +.\" $OpenBSD: wsconsctl.8,v 1.13 2003/03/12 20:12:37 deraadt 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 +.Li # wsconsctl -w keyboard.encoding=uk .Pp Sets a UK keyboard encoding. .Pp -.Cm # wsconsctl -w keyboard.map+="keysym Caps_Lock = Control_L" +.Li # 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" +.Li # 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" +.Li # 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 +.Li # 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 +.Li # wsconsctl -w keyboard.bell.pitch=1200 .Pp Sets the bell pitch to be 1200. .Pp -.Cm # wsconsctl -w keyboard.bell.pitch+=200 +.Li # wsconsctl -w keyboard.bell.pitch+=200 .Pp Adds 200 to the current pitch of the bell. .Sh FILES |