-.\" $OpenBSD: bioctl.8,v 1.103 2016/11/27 18:04:18 stsp Exp $
+.\" $OpenBSD: bioctl.8,v 1.104 2017/04/06 18:55:42 jmc Exp $
.\"
.\" Copyright (c) 2004, 2005 Marco Peereboom
.\"
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 27 2016 $
+.Dd $Mdocdate: April 6 2017 $
.Dt BIOCTL 8
.Os
.Sh NAME
This option cannot be used during the initial creation of the crypto volume.
.El
.Sh EXAMPLES
-The following command, executed from the command line, would configure
-the device softraid0 with 4 special devices
-(/dev/sd2e, /dev/sd3e, /dev/sd4e, /dev/sd5e) and
-a RAID level of 1:
+Configure softraid0 with 4 special devices
+(/dev/sd2e, /dev/sd3e, /dev/sd4e, /dev/sd5e)
+and a RAID level of 1:
.Bd -literal -offset 3n
# bioctl -c 1 -l /dev/sd2e,/dev/sd3e,/dev/sd4e,/dev/sd5e softraid0
.Ed
.Pp
-The following command, executed from the command line, would configure the
-device softraid0 with one special device (/dev/sd2e) and an encrypting
+Configure softraid0 with one special device (/dev/sd2e) and an encrypting
volume:
.Bd -literal -offset 3n
# bioctl -c C -l /dev/sd2e softraid0
.Xr fdisk 8
or
.Xr disklabel 8
-don't get confused by the random data that appears on the new disk.
-This can be done with the following command (assuming the new disk is sd3):
+don't get confused by the random data that appears on the new disk:
.Bd -literal -offset 3n
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
.Ed
# bioctl -d sd2
.Ed
.Pp
-The following command starts a rebuild of the degraded softraid volume sd0
+Start a rebuild of the degraded softraid volume sd0
using a new chunk on wd0d:
.Bd -literal -offset 3n
# bioctl -R /dev/wd0d sd0