- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/udev.xml
r61ad0b7f r2572b8e 30 30 <screen os="b"><userinput>./configure --prefix=/usr \ 31 31 --exec-prefix="" --sysconfdir=/etc \ 32 --libexecdir=/lib/udev --libdir=/usr/lib \ 32 --sbindir=/sbin --libexecdir=/lib/udev \ 33 --libdir=/usr/lib --with-systemdsystemunitdir=/lib/systemd/system \ 33 34 --disable-extras --disable-introspection</userinput></screen> 34 35 … … 45 46 46 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> 47 69 48 70 </sect2>
Note: See TracChangeset
for help on using the changeset viewer.