Changeset 2572b8e
- Timestamp:
- Jan 30, 2011, 12:25:16 PM (14 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- a4d251f
- Parents:
- 2580945
- git-author:
- Joe Ciccone <jciccone@…> (01/30/11 12:13:32)
- git-committer:
- Joe Ciccone <jciccone@…> (01/30/11 12:25:16)
- Location:
- BOOK
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/devices.xml
r2580945 r2572b8e 35 35 the following commands:</para> 36 36 37 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1 38 mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen> 37 <screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1 38 mknod -m 0666 ${CLFS}/dev/null c 1 3 39 mknod -m 0666 ${CLFS}/dev/zero c 1 5</userinput></screen> 39 40 40 <para>Before udev starts a tmpfs filesystem is mounted over <filename class="directory">/dev</filename> and the previous entries are no-longer available. The folling command creates files that are copied over by the udev bootscript:</para> 41 <para>When systemd starts a tmpfs filesystem is mounted over 42 <filename class="directory">/dev</filename> and the previous entries are 43 no-longer available. The folling command creates files that are copied 44 over when udevd starts:</para> 41 45 42 <screen><userinput>mknod -m 600 ${CLFS}/lib/udev/devices/console c 5 1 43 mknod -m 666 ${CLFS}/lib/udev/devices/null c 1 3</userinput></screen> 46 <screen><userinput>mkdir -pv ${CLFS}/lib/udev/devices/{pts,shm} 47 mknod -m 0600 ${CLFS}/lib/udev/devices/console c 5 1 48 mknod -m 0666 ${CLFS}/lib/udev/devices/null c 1 3 49 mknod -m 0666 ${CLFS}/lib/udev/devices/zero c 1 5 50 mknod -m 0600 ${CLFS}/lib/udev/devices/kmsg c 1 11 51 ln -snvf /proc/self/fd ${CLFS}/lib/udev/devices/fd 52 ln -snvf /proc/self/fd/0 ${CLFS}/lib/udev/devices/stdin 53 ln -snvf /proc/self/fd/1 ${CLFS}/lib/udev/devices/stdout 54 ln -snvf /proc/self/fd/2 ${CLFS}/lib/udev/devices/stderr 55 ln -snvf /proc/kcore ${CLFS}/lib/udev/devices/core</userinput></screen> 44 56 45 57 </sect2> -
BOOK/final-system/common/udev.xml
r2580945 r2572b8e 46 46 47 47 <screen os="j"><userinput>install -dv /lib/firmware</userinput></screen> 48 49 </sect2> 50 51 <sect2 id="conf-udev" role="configuration"> 52 <title>Configuring Udev</title> 53 54 <para>When systemd starts a tmpfs filesystem is mounted over 55 <filename class="directory">/dev</filename> and the previous entries are 56 no-longer available. The folling command creates files that are copied 57 over when udevd starts:</para> 58 59 <screen><userinput>mkdir -pv /lib/udev/devices/{pts,shm} 60 mknod -m 0600 /lib/udev/devices/console c 5 1 61 mknod -m 0666 /lib/udev/devices/null c 1 3 62 mknod -m 0666 /lib/udev/devices/zero c 1 5 63 mknod -m 0600 /lib/udev/devices/kmsg c 1 11 64 ln -snvf /proc/self/fd /lib/udev/devices/fd 65 ln -snvf /proc/self/fd/0 /lib/udev/devices/stdin 66 ln -snvf /proc/self/fd/1 /lib/udev/devices/stdout 67 ln -snvf /proc/self/fd/2 /lib/udev/devices/stderr 68 ln -snvf /proc/kcore /lib/udev/devices/core</userinput></screen> 48 69 49 70 </sect2> -
BOOK/final-system/multilib/udev-64bit.xml
r2580945 r2572b8e 60 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 61 href="../common/udev.xml" 62 xpointer="xpointer(id('conf-udev'))"/> 63 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 65 href="../common/udev.xml" 62 66 xpointer="xpointer(id('contents-udev'))"/> 63 67
Note:
See TracChangeset
for help on using the changeset viewer.