aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/glibc.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-03-08 01:19:06 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-03-08 01:25:06 +0800
commit940c8495ae3e96d22856e51266bd02f0840de25a (patch)
treeeaf2fa1e6442bd773c933200777f5bfeb6564adf /chapter08/glibc.xml
parent102a7f64c074baa465314620e2798d4031419fae (diff)
kernfs: remove static node creation, and update the text
This is to match the "new" way of device handling with devtmpfs (already widely used in recent ten years). In a normal booting process, the kernel mounts devtmpfs at very early stage. So the static nodes won't be used at all. The only situation where the kernel can't mount devtmpfs is "/dev is missing", but it means those two static nodes can't exist anyway, and a normal LFS system (without initramfs) won't boot in such a bad situation. Removing static /dev/console and /dev/null may cause trouble for those people or scripts chroot into LFS tree without mounting devtmpfs. But entering a chroot with only console and null in /dev is already problematic. For a reference, If a systemd service is started with PrivateDevices=true, systemd will create 18 nodes and symlinks to form a "minimal" /dev.
Diffstat (limited to 'chapter08/glibc.xml')
0 files changed, 0 insertions, 0 deletions