aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/devices.xml
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-10-17 08:48:03 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-10-17 08:48:03 +0000
commit6135b95e080e9330461eb4dfcf3db227fd28a84d (patch)
tree480353b1cf375e5db8dceb1b940db1e4e958247f /chapter06/devices.xml
parentb457a1d5d0f0ba61e8b4e1197fe127f219d59a29 (diff)
Experimental - don't build udev in chapter 5, instead create a minimal device enviornment at the beginning of chapter 6, and run udevstart after udev is installed in chapter 6.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4295 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/devices.xml')
-rw-r--r--chapter06/devices.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/chapter06/devices.xml b/chapter06/devices.xml
index 297e06e06..24a9aa58d 100644
--- a/chapter06/devices.xml
+++ b/chapter06/devices.xml
@@ -32,10 +32,13 @@ populate <filename class="directory">/dev</filename> ourselves. Begin by mounti
<screen><userinput>mount -n -t ramfs none /dev</userinput></screen>
-<para>Now use the provided udevstart utility to create the initial devices based on
-all the information in <filename class="directory">/sys</filename>:</para>
+<para>Since we do not have the Udev package installed yet, we'll create a
+minimal set of device nodes to use for building:</para>
-<screen><userinput>/tools/sbin/udevstart</userinput></screen>
+<screen><userinput>mknod -m 600 /dev/console c 5 1
+mknod -m 600 /dev/null c 1 3
+mknod -m 600 /dev/zero c 1 5
+mknod -m 600 /dev/ptmx c 5 2</userinput></screen>
<para>There are some symlinks and directories required by LFS that are not created by
Udev, so we create those ourselves here:</para>