diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-10-01 15:14:22 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-10-01 15:14:22 +0800 |
commit | 00588180eea2ae621865ede52b7b9c619848c276 (patch) | |
tree | 32a5f33acb6baf06126356c16e433bc22771ffaa /general.ent | |
parent | a8f3814a7b070ec4b8fcdf6960bd9e31824d91a5 (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 'general.ent')
-rw-r--r-- | general.ent | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/general.ent b/general.ent index 81a7b51dc..00eea04e1 100644 --- a/general.ent +++ b/general.ent @@ -121,6 +121,7 @@ <!ENTITY root "<systemitem class='username'>root</systemitem>"> <!ENTITY lfs-user "<systemitem class='username'>lfs</systemitem>"> +<!ENTITY devtmpfs "<systemitem class='filesystem'>devtmpfs</systemitem>"> <!ENTITY fstab "<filename>/etc/fstab</filename>"> <!ENTITY boot-dir "<filename class='directory'>/boot</filename>"> <!ENTITY ch-final "<xref linkend='chapter-building-system'/>"> |