aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/makedev-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/makedev-inst.xml')
-rw-r--r--chapter06/makedev-inst.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml
index d5b9c3b2d..6797a057d 100644
--- a/chapter06/makedev-inst.xml
+++ b/chapter06/makedev-inst.xml
@@ -6,7 +6,8 @@ won't create a directory for you to cd into.</para>
<para>Create the device files by running the following commands:</para>
-<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
+<para><screen><userinput>rm /dev/null &amp;&amp;
+cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
cd /dev &amp;&amp;
chmod 754 MAKEDEV</userinput></screen></para>