- install -dv ${LFS}/lib/{firmware,udev/devices}
-
- # Static UDEV devices
- if [ ! -c ${LFS}/lib/udev/devices/kmsg ]; then
- mknod -m0666 ${LFS}/lib/udev/devices/kmsg c 1 11
- fi
-
- if [ ! -h ${LFS}/lib/udev/devices/fd ]; then
- ln -sfv /proc/self/fd ${LFS}/lib/udev/devices/fd
- fi
-
- if [ ! -h ${LFS}/lib/udev/devices/stdin ]; then
- ln -sfv /proc/self/fd/0 ${LFS}/lib/udev/devices/stdin
- fi
-
- if [ ! -h ${LFS}/lib/udev/devices/stdout ]; then
- ln -sfv /proc/self/fd/1 ${LFS}/lib/udev/devices/stdout
- fi
-
- if [ ! -h ${LFS}/lib/udev/devices/stderr ]; then
- ln -sfv /proc/self/fd/2 ${LFS}/lib/udev/devices/stderr
- fi