Changeset 026bb5d for BOOK/chroot/common/kernfs.xml
- Timestamp:
- Dec 18, 2013, 1:04:00 AM (11 years ago)
- Children:
- f975b3a
- Parents:
- 1c9985f (diff), 8abef998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/chroot/common/kernfs.xml
r1c9985f r026bb5d 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 Udev early in the boot process, so we create them here:</para>38 starting Eudev 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 Udev package. Since this package is not44 nodes are created by the Eudev 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>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm 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 57 64 mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen> 58 65
Note:
See TracChangeset
for help on using the changeset viewer.