Remove unnecessary, potentially dangerous sysctl command.

Discussed on:	-current@
Approved by:	gjb
This commit is contained in:
Warren Block 2011-10-08 00:53:00 +00:00
parent 2e192af48c
commit de45236f4b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=37786

View file

@ -647,12 +647,6 @@
<step>
<title>Writing the Image with &man.dd.1;</title>
<para>Set the <varname>kern.geom.debugflags</varname> sysctl to
be able to write a master boot record to the target
device.</para>
<screen><userinput>&prompt.root; sysctl kern.geom.debugflags=16</userinput></screen>
<para>The <filename>.img</filename> file
is <emphasis>not</emphasis> a regular file you copy to the
memory stick. It is an image of the complete contents of the
@ -661,6 +655,13 @@
&man.dd.1; to write the image directly to the disk:</para>
<screen>&prompt.root; <userinput>dd if=&os;-&rel.current;-RELEASE-&arch.i386;-memstick.img of=/dev/<replaceable>da0</replaceable> bs=64k</userinput></screen>
<para>If an
<computeroutput>Operation not permitted</computeroutput>
error is displayed, make certain that the target device
is not in use, mounted, or being automounted by some
well-intentioned utility program. Then try
again.</para>
</step>
</procedure>