Fix Dd argument (use full month names).

Use more markup.
Comment out references to safte(4) and softraid(4), which don't exist in
NetBSD.
Remove trailing whitespace.
Use macros instead of characters for HTML output (replace ">", "<"
with \*[Gt], \*[Lt]).
Sort sections.
This commit is contained in:
wiz 2007-09-09 16:13:19 +00:00
parent ae9c37793d
commit f4a91b1899

View File

@ -1,4 +1,4 @@
.\" $NetBSD: bioctl.8,v 1.3 2007/09/09 13:30:55 bouyer Exp $
.\" $NetBSD: bioctl.8,v 1.4 2007/09/09 16:13:19 wiz Exp $
.\" $OpenBSD: bioctl.8,v 1.43 2007/03/20 06:12:11 jmc Exp $
.\"
.\" Copyright (c) 2004, 2005 Marco Peereboom
@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd Sep 9, 2007
.Dd September 9, 2007
.Dt BIOCTL 8
.Os
.Sh NAME
@ -72,18 +72,20 @@ The
.Ar alarm-function
may be specified as given above,
or by the first letter only
(e.g. -a e).
(e.g.,
.Fl a Ar e ) .
.It Fl b Ar channel:target[.lun]
Instruct the device at
.Ar channel:target[.lun]
to start blinking, if there is
.Xr ses 4
or
.Xr safte 4
.\" or
.\" .Xr safte 4
support in the enclosure.
.It Fl c Ar raidlevel
Create a
.Xr softraid 4
.\" .Xr softraid 4
softraid
device of level
.Ar raidlevel .
The device must begin with
@ -99,7 +101,9 @@ is currently marked
promote it to being a
.Dq Hot Spare .
.It Fl h
Where necessary, produce "human-readable" output.
Where necessary, produce
.Dq human-readable
output.
Use unit suffixes: Byte, Kilobyte, Megabyte,
Gigabyte, Terabyte, Petabyte, Exabyte in order to reduce the number of
digits to four or less.
@ -109,7 +113,8 @@ Enumerate the selected RAID devices.
Use
.Ar special
device list to create within the
.Xr softraid 4
.\" .Xr softraid 4
softraid
framework.
Requires
.Fl c .
@ -118,40 +123,38 @@ Instruct the device at
.Ar channel:target[.lun]
to cease blinking, if there is
.Xr ses 4
or
.Xr safte 4
.\" or
.\" .Xr safte 4
support in the enclosure.
.It Fl v
Be more verbose in output.
.It Ar device
Select a drive by name (e.g. sd0) or a RAID controller by name (e.g. ami0).
Select a drive by name (e.g., sd0) or a RAID controller by name (e.g., ami0).
For operations which will be performed against
.Xr ses 4
or
.Xr safte 4
.\" or
.\" .Xr safte 4
enclosures, it is also possible to directly specify the enclosure name
(e.g. safte0).
(e.g., safte0).
.El
.Sh EXAMPLES
The following command, executed from the command line, shows the status of
the logical drives on the RAID controller:
.Bd -literal
.Bd -literal
# bioctl -h mfi0
Volume Status Size Device
Volume Status Size Device
mfi0 0 Online 74G mfi0 RAID1
0 Online 75G 1:0.0 noencl <ATA WDC WD800JD-75MS1E04>
1 Online 75G 1:1.0 noencl <ATA WDC WD800JD-75MS1E04>
0 Online 75G 1:0.0 noencl \*[Lt]ATA WDC WD800JD-75MS1E04\*[Gt]
1 Online 75G 1:1.0 noencl \*[Lt]ATA WDC WD800JD-75MS1E04\*[Gt]
mfi0 1 Online 697G mfi0 RAID5
0 Online 233G 1:3.0 noencl <ATA WDC WD2500JS-75N2E04>
1 Online 233G 1:2.0 noencl <ATA WDC WD2500JS-75N2E04>
2 Online 233G 1:4.0 noencl <ATA WDC WD2500JS-75N2E04>
3 Online 233G 1:5.0 noencl <ATA WDC WD2500JS-75N2E04>
0 Online 233G 1:3.0 noencl \*[Lt]ATA WDC WD2500JS-75N2E04\*[Gt]
1 Online 233G 1:2.0 noencl \*[Lt]ATA WDC WD2500JS-75N2E04\*[Gt]
2 Online 233G 1:4.0 noencl \*[Lt]ATA WDC WD2500JS-75N2E04\*[Gt]
3 Online 233G 1:5.0 noencl \*[Lt]ATA WDC WD2500JS-75N2E04\*[Gt]
.Ed
.Sh SEE ALSO
.Xr bio 4 ,
.Xr mfi 4 .
.Sh BUGS
the softraid stuff is not available at this time.
.Xr mfi 4
.Sh HISTORY
The
.Nm
@ -162,3 +165,5 @@ The
.Nm
interface was written by
.An Marco Peereboom Aq marco@openbsd.org .
.Sh BUGS
The softraid stuff is not available at this time.