Hello all, especially softraid(4) developers and j...@. :)
Looks like bio(4) is missing description of softraid(4)-specific ioctls:
BIOCCREATERAID, BIOCDELETERAID and BIOCDISCIPLINE. Here is a patch
proposal, feel free to fight me for it. :)
--
Best wishes,
Vadim Zhukov
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Index: bio.4
===================================================================
RCS file: /cvs/src/share/man/man4/bio.4,v
retrieving revision 1.26
diff -u -p -r1.26 bio.4
--- bio.4 22 Oct 2009 09:22:46 -0000 1.26
+++ bio.4 10 Mar 2010 22:18:54 -0000
@@ -128,6 +128,20 @@ and the hardware supports hardware blink
Alter the state of specified physical disk.
Supported states are: create hot-spare, online disk and offline disk.
.El
+.Pp
+The following ioctl calls apply to the
+.Nm bio
+device only when talking to a
+.Xr softraid 4
+device:
+.Bl -tag -width BIOCCREATERAID
+.It Dv BIOCCREATERAID
+Create new array.
+.It Dv BIOCDELETERAID
+Remove array, optionally erasing RAID metadata.
+.It Dv BIOCDISCIPLINE
+Dispatch a discipline specific ioctl.
+.El
.Sh FILES
.Bl -tag -width /dev/bio -compact
.It Pa /dev/bio