- Timestamp:
- 10/17/2004 08:48:03 AM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 7a90c00
- Parents:
- b457a1d
- Location:
- chapter06
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/devices.xml
rb457a1d r6135b95 33 33 <screen><userinput>mount -n -t ramfs none /dev</userinput></screen> 34 34 35 <para> Now use the provided udevstart utility to create the initial devices based on36 all the information in <filename class="directory">/sys</filename>:</para>35 <para>Since we do not have the Udev package installed yet, we'll create a 36 minimal set of device nodes to use for building:</para> 37 37 38 <screen><userinput>/tools/sbin/udevstart</userinput></screen> 38 <screen><userinput>mknod -m 600 /dev/console c 5 1 39 mknod -m 600 /dev/null c 1 3 40 mknod -m 600 /dev/zero c 1 5 41 mknod -m 600 /dev/ptmx c 5 2</userinput></screen> 39 42 40 43 <para>There are some symlinks and directories required by LFS that are not created by -
chapter06/udev.xml
rb457a1d r6135b95 45 45 <screen><userinput>cp ../udev-config-2.permissions /etc/udev/permissions.d/25-lfs.permissions 46 46 cp ../udev-config-1.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen> 47 48 <para>Finally, we'll allow udev to create the full compliment of device 49 nodes, since earlier we only created a minimal set.</para> 50 51 <screen><userinput>/sbin/udevstart</userinput></screen> 47 52 48 53 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.