summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-07-18 14:34:42 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-07-18 14:34:42 +0000
commit96e2cba977389173e1b7ed1f23801f911f639320 (patch)
treef98c873b206aa8255c30df3c60d84863240622f9
parentffb6a8769d2037ead26b905b25dd5d6ba6910252 (diff)
tweaks;
ok marco@
-rw-r--r--sbin/bioctl/bioctl.817
-rw-r--r--sbin/bioctl/bioctl.c4
2 files changed, 13 insertions, 8 deletions
diff --git a/sbin/bioctl/bioctl.8 b/sbin/bioctl/bioctl.8
index c218f4ff250..0368ac2eabf 100644
--- a/sbin/bioctl/bioctl.8
+++ b/sbin/bioctl/bioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bioctl.8,v 1.10 2005/07/18 01:58:01 marco Exp $
+.\" $OpenBSD: bioctl.8,v 1.11 2005/07/18 14:34:41 jmc Exp $
.\"
.\" Copyright (c) 2004, 2005 Marco Peereboom
.\"
@@ -45,18 +45,23 @@ The options are as follows:
.It Fl D
Enable debug output.
.It Fl d Ar device
-Select RAID controller e.g ami0.
-Use the -d option for controller operations that impact all disk devices.
+Select the RAID controller e.g. ami0.
+Use this option for controller operations that impact all disk devices.
.It Fl f Ar device
-Select RAID disk e.g sd0.
+Select the RAID disk e.g. sd0.
.It Fl h
Online help.
.It Fl i
-Depending on -d or -f enumerate all or only selected RAID device(s).
+Depending on whether the
+.Fl d
+or
+.Fl f
+option was selected,
+enumerate all or only the selected RAID device(s).
.El
.Sh SEE ALSO
-.Xr bio 4 ,
.Xr ami 4 ,
+.Xr bio 4 ,
.Xr scsi 4
.Sh HISTORY
The
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index 6c639d32c3d..d3067e1d739 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.13 2005/07/18 01:59:43 marco Exp $ */
+/* $OpenBSD: bioctl.c,v 1.14 2005/07/18 14:34:41 jmc Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
* All rights reserved.
@@ -136,7 +136,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-Dhi] [-d device | -f disk]\n", __progname);
+ fprintf(stderr, "usage: %s [-Dhi] -d device | -f device\n", __progname);
exit(1);
}