Changeset 0058818 for chapter09/udev.xml


Ignore:
Timestamp:
10/01/2022 07:14:22 AM (21 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
2bf32ff
Parents:
a8f3814a
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/udev.xml

    ra8f3814a r0058818  
    9494    </sect3>
    9595
    96     <sect3>
     96    <sect3 id='ch-config-udev-device-node-creation'>
    9797      <title>Device Node Creation</title>
    9898
Note: See TracChangeset for help on using the changeset viewer.