diff options
Diffstat (limited to 'sbin/camcontrol/camcontrol.8')
-rw-r--r-- | sbin/camcontrol/camcontrol.8 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/camcontrol/camcontrol.8 b/sbin/camcontrol/camcontrol.8 index f26cb4c..dde3e19 100644 --- a/sbin/camcontrol/camcontrol.8 +++ b/sbin/camcontrol/camcontrol.8 @@ -547,7 +547,7 @@ information if the command fails since the .Fl v switch was not specified. .Pp -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol tur da1 -E -C 4 -t 50 -v .Ed .Pp @@ -559,7 +559,7 @@ flag) if the command fails. Since error recovery is turned on, the disk will be spun up if it is not currently spinning. .Nm camcontrol will report whether the disk is ready. -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol cmd -n cd -u 1 -v -c "3C 00 00 00 00 00 00 00 0e 00" \e -i 0xe "s1 i3 i1 i1 i1 i1 i1 i1 i1 i1 i1 i1" .Ed @@ -568,7 +568,7 @@ Issue a READ BUFFER command (0x3C) to cd1. Display the buffer size of cd1, and display the first 10 bytes from the cache on cd1. Display SCSI sense information if the command fails. .Pp -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol cmd -n cd -u 1 -v -c "3B 00 00 00 00 00 00 00 0e 00" \e -o 14 "00 00 00 00 1 2 3 4 5 6 v v v v" 7 8 9 8 .Ed @@ -578,7 +578,7 @@ not including the (reserved) 4 byte header. Print out sense information if the command fails. Be very careful with this command, improper use may cause data corruption. .Pp -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol modepage da3 -m 1 -e -P 3 .Ed .Pp @@ -599,20 +599,20 @@ changed. .Pp Set the number of concurrent transactions for da5 to 24. .Pp -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol negotiate -n da -u 4 -T disable .Ed .Pp Disable tagged queueing for da4. .Pp -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol negotiate -n da -u 3 -R 20.000 -O 15 -a .Ed .Pp Negotiate a sync rate of 20MHz and an offset of 15 with da3. Then send a Test Unit Ready command to make the settings take effect. .Pp -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol cmd -n da -u 3 -v -t 7200 -c "4 0 0 0 0 0" .Ed .Pp @@ -667,7 +667,7 @@ in The code that parses the generic command line arguments doesn't know that some of the subcommands take multiple arguments. So if, for instance, you tried something like this: -.Bd -literal -offset foobar +.Bd -literal -offset indent camcontrol cmd -n da -u 1 -c "00 00 00 00 00 v" 0x00 -v .Ed .Pp |