diff --git a/sbin/camcontrol/camcontrol.8 b/sbin/camcontrol/camcontrol.8 index 9337e725e37..7b3aa699e74 100644 --- a/sbin/camcontrol/camcontrol.8 +++ b/sbin/camcontrol/camcontrol.8 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: camcontrol.8,v 1.4 1998/09/21 20:44:39 ken Exp $ +.\" $Id: camcontrol.8,v 1.5 1998/10/02 21:00:38 ken Exp $ .\" .Dd September 14, 1998 .Dt CAMCONTROL 8 @@ -92,6 +92,7 @@ debug .Op Fl I .Op Fl T .Op Fl S +.Op Fl c .Aq all|off|bus Ns Op :target Ns Op :lun .Sh DESCRIPTION .Nm camcontrol @@ -370,7 +371,9 @@ 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 -.Dl camcontrol modepage -n da -u 3 -m 1 -e -P 3 +.Bd -literal -offset foobar +camcontrol modepage -n da -u 3 -m 1 -e -P 3 +.Ed .Pp Edit mode page 1 (the Read-Write Error Recover page) for da3, and save the settings on the drive. Mode page 1 contains a disk drive's auto read and diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index c4b5dc9398c..83a830090bb 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: camcontrol.c,v 1.1 1998/09/15 06:43:02 gibbs Exp $ + * $Id: camcontrol.c,v 1.2 1998/10/02 21:00:38 ken Exp $ */ #include @@ -1791,7 +1791,7 @@ usage(void) " camcontrol modepage [generic args] <-m page> [-P pagectl][-e][-d]\n" " camcontrol cmd [generic args] <-c cmd [args]> \n" " [-i len fmt|-o len fmt [args]]\n" -" camcontrol debug [-I][-T][-S] \n" +" camcontrol debug [-I][-T][-S][-c] \n" "Specify one of the following options:\n" "devlist list all CAM devices\n" "periphlist list all CAM peripheral drivers attached to a device\n"