From: jmc Date: Thu, 6 Apr 2017 18:55:42 +0000 (+0000) Subject: less chatty EXAMPLES; from anton lindqvist X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fd8c917f27330d21cef9f95ea863d28b0e3c6be6;p=openbsd less chatty EXAMPLES; from anton lindqvist --- diff --git a/sbin/bioctl/bioctl.8 b/sbin/bioctl/bioctl.8 index 3b6e66d1eb5..d807f465e64 100644 --- a/sbin/bioctl/bioctl.8 +++ b/sbin/bioctl/bioctl.8 @@ -1,4 +1,4 @@ -.\" $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 .\" @@ -23,7 +23,7 @@ .\" 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 @@ -279,16 +279,14 @@ rather than 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 @@ -302,8 +300,7 @@ zeroed, so tools like .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 @@ -314,7 +311,7 @@ For example: # 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