aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-11-18 12:52:09 +0800
committerXi Ruoyao <xry111@xry111.site>2022-11-18 12:52:09 +0800
commit2f9498afa401af249bb5c2090b3cc393e659ceb0 (patch)
tree24fbb72fbf7df4393e141e35921f6491538a66df /Makefile
parentf714a8fa3bdd85d28bd9eb49ab0f1f59e39a5054 (diff)
kernfs: remove a false note
Things are a little tricky: 1. If the host is "modern" (any desktop distro after 2013), the kernel supports devtmpfs and the host udev will do adjustments to the devtmpfs. All instances of devtmpfs shares the same content so we'll see the work of both the kernel and the host udev in chroot. 2. If the host is old but the kernel supports devtmpfs (i. e. the host is not using devtmpfs for its /dev), when we mount devtmpfs on $LFS/dev we'll see the work of the kernel in chroot, but not the work of udev. **Building LFS does not need any work of udev.** 3. If the host is very old and the kernel does not support devtmpfs at all, we can't mount devtmpfs. Mounting a devtmpfs will work for 1 and 2, while bind mounting will work for 1, 2, and 3. So we use bind mounting here. I don't want to squash all these details into the book, so just remove the false statement here.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions