summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol/camcontrol.8
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2000-06-04 02:43:55 +0000
committerken <ken@FreeBSD.org>2000-06-04 02:43:55 +0000
commit5e934fe1f7b01c50b1d8b916e04a0a67e3fb1952 (patch)
tree2f9f43edc892ddc08c5fbd8676ea2252df068dba /sbin/camcontrol/camcontrol.8
parenta8a49218a7bce941cab169cd6601dad99356387d (diff)
downloadFreeBSD-src-5e934fe1f7b01c50b1d8b916e04a0a67e3fb1952.zip
FreeBSD-src-5e934fe1f7b01c50b1d8b916e04a0a67e3fb1952.tar.gz
Eliminate the default device name (da) and unit number (0) in camcontrol.
This may break some scripts, but with the number of ways users can damage a system with this tool, it's important to make sure they specify which device they want to talk to. Suggested by: joerg
Diffstat (limited to 'sbin/camcontrol/camcontrol.8')
-rw-r--r--sbin/camcontrol/camcontrol.87
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/camcontrol/camcontrol.8 b/sbin/camcontrol/camcontrol.8
index 0b003c9..6d2c59f 100644
--- a/sbin/camcontrol/camcontrol.8
+++ b/sbin/camcontrol/camcontrol.8
@@ -202,13 +202,12 @@ the code will generally attempt to spin up drives that are not spinning.
It may take some other actions, depending upon the sense code returned from
the command.
.It Fl n Ar dev_name
-Specify the device type to operate on. The default is
-.Em da .
+Specify the device type to operate on, e.g. "da", "cd".
.It Fl t Ar timeout
SCSI command timeout in seconds. This overrides the default timeout for
any given command.
.It Fl u Ar unit_number
-Specify the device unit number. The default is 0.
+Specify the device unit number, e.g. "1", "5".
.It Fl v
Be verbose, print out sense information for failed SCSI commands.
.El
@@ -616,7 +615,7 @@ are the CAM application passthrough devices.
Eject the CD from cd1, and print SCSI sense information if the command
fails.
.Pp
-.Dl camcontrol tur
+.Dl camcontrol tur da0
.Pp
Send the SCSI test unit ready command to da0.
.Nm camcontrol
OpenPOWER on IntegriCloud