lfs/chapter07
Xi Ruoyao 940c8495ae
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.
2022-03-08 01:25:06 +08:00
..
bison.xml Rename package entities to be independent of chapter numbering 2020-06-11 12:55:28 +00:00
changingowner.xml minor rewords in the beginning of chap 7 2020-06-20 07:26:14 +00:00
chapter07.xml fix GCC PR100017 and enable libstdc++ for pass 2 2022-02-27 23:36:55 +08:00
chroot.xml remove "+h" in bash commands in chroot (#4998) 2022-02-05 20:48:27 +08:00
cleanup.xml Spelling/Typos 2022-02-18 14:49:40 -06:00
createfiles.xml Fix typos in glibc and for systemd-oom group syntax 2022-02-15 13:22:46 -06:00
creatingdirs.xml Merge Xi's changes into trunk 2021-05-11 23:24:11 -05:00
gettext.xml Rename package entities to be independent of chapter numbering 2020-06-11 12:55:28 +00:00
introduction.xml Minor text changes 2021-09-03 19:43:45 -05:00
kernfs.xml kernfs: remove static node creation, and update the text 2022-03-08 01:25:06 +08:00
perl.xml Remove spaces at end o lines - chapter07 2021-09-07 22:35:55 +02:00
python.xml temp python: add a note about (not so) "fatal" errors 2021-07-28 12:08:52 +08:00
texinfo.xml temp texinfo: remove outdated note about TestXS_la-TestXS.lo 2021-08-27 02:55:49 +08:00
util-linux.xml Merge Xi's changes into trunk 2021-05-11 23:24:11 -05:00