Changes in BOOK/chroot/common/kernfs.xml [ebfb62d:dabbced]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/chroot/common/kernfs.xml
rebfb62d rdabbced 36 36 <para>Two device nodes, /dev/console and /dev/null, are required to be 37 37 present on the filesystem. These are needed by the kernel even before 38 starting Eudev early in the boot process, so we create them here:</para>38 starting Udev early in the boot process, so we create them here:</para> 39 39 40 40 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1 … … 42 42 43 43 <para>Once the system is complete and booting, the rest of our device 44 nodes are created by the Eudev package. Since this package is not44 nodes are created by the Udev package. Since this package is not 45 45 available to us right now, we must take other steps to provide device 46 46 nodes under on the CLFS filesystem. We will use the <quote>bind</quote> … … 54 54 for each of these now:</para> 55 55 56 <screen><userinput>if [ -h ${CLFS}/dev/shm ]; then 57 link=$(readlink ${CLFS}/dev/shm) 58 mkdir -p ${CLFS}/$link 59 mount -f -vt tmpfs shm ${CLFS}/$link 60 unset link 61 else 62 mount -f -vt tmpfs shm ${CLFS}/dev/shm 63 fi 56 <screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm 64 57 mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen> 65 58
Note:
See TracChangeset
for help on using the changeset viewer.