The bioctl(8) man page helpfully suggests dd for zeroing out the
disklabel etc. on the new disk. However, the command doesn't work, since
OpenBSD's dd doesn't understand '1M'.
It may be slightly more readable to use 'bs=1024 count=1024' or some
variant.
Joachim
Index: bioctl.8
===================================================================
RCS file: /cvs/src/sbin/bioctl/bioctl.8,v
retrieving revision 1.66
diff -u -p -r1.66 bioctl.8
--- bioctl.8 19 Mar 2009 15:11:59 -0000 1.66
+++ bioctl.8 9 May 2009 10:07:23 -0000
@@ -232,7 +232,7 @@ or
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):
.Bd -literal -offset 3n
-# dd if=/dev/zero of=/dev/rsd3c bs=1M count=1
+# dd if=/dev/zero of=/dev/rsd3c bs=1048576 count=1
.Ed
.Sh SEE ALSO
.Xr ami 4 ,