aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-10-01 15:14:22 +0800
committerXi Ruoyao <xry111@xry111.site>2022-10-01 15:14:22 +0800
commit00588180eea2ae621865ede52b7b9c619848c276 (patch)
tree32a5f33acb6baf06126356c16e433bc22771ffaa /chapter09
parenta8f3814a7b070ec4b8fcdf6960bd9e31824d91a5 (diff)
kernfs: modernize the explanation for bind mounting /dev
If you are using a "modern" distro (with devtmpfs and a modern udev implementation), a bind mounting is actually not needed because you can mount devtmpfs anyway. The only reason for bind mounting is to be compatible with old host distros where /dev is a directory containing many static device nodes, or is a tmpfs (not same as devtmpfs) popluated by bootscript or an old udev (modern udev implementations, including eudev and systemd-udev used by LFS, strictly requires a devtmpfs on /dev). So update the explanation to match the status quo.
Diffstat (limited to 'chapter09')
-rw-r--r--chapter09/udev.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter09/udev.xml b/chapter09/udev.xml
index 435255a19..396f2b389 100644
--- a/chapter09/udev.xml
+++ b/chapter09/udev.xml
@@ -93,7 +93,7 @@
</sect3>
- <sect3>
+ <sect3 id='ch-config-udev-device-node-creation'>
<title>Device Node Creation</title>
<para>Device files are created by the kernel by the <systemitem