summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2009-10-21 22:35:27 +0000
committermarco <marco@openbsd.org>2009-10-21 22:35:27 +0000
commitf4c990457cb51cbca784723e5eddc75cc6f34cb2 (patch)
treeacd637986fb016ae0287eda0b7590fc5e1708524
parentAdd passphrase file for crypto volume bring-up. Proded and ok deraadt (diff)
downloadwireguard-openbsd-f4c990457cb51cbca784723e5eddc75cc6f34cb2.tar.xz
wireguard-openbsd-f4c990457cb51cbca784723e5eddc75cc6f34cb2.zip
Add delete example since it has come up several times.
-rw-r--r--sbin/bioctl/bioctl.88
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/bioctl/bioctl.8 b/sbin/bioctl/bioctl.8
index 595ac1d1efb..a3246acc736 100644
--- a/sbin/bioctl/bioctl.8
+++ b/sbin/bioctl/bioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bioctl.8,v 1.73 2009/10/21 22:31:17 marco Exp $
+.\" $OpenBSD: bioctl.8,v 1.74 2009/10/21 22:35:27 marco Exp $
.\"
.\" Copyright (c) 2004, 2005 Marco Peereboom
.\"
@@ -250,6 +250,12 @@ This can be done with the following command (assuming the new disk is sd3):
.Bd -literal -offset 3n
# dd if=/dev/zero of=/dev/rsd3c bs=1m count=1
.Ed
+.Pp
+Deleting a softraid volume requires the exact volume name.
+For example:
+.Bd -literal -offset 3n
+# bioctl -d sd2
+.Ed
.Sh SEE ALSO
.Xr bio 4 ,
.Xr scsi 4 ,