aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/introduction.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-10-01 12:41:42 +0800
committerXi Ruoyao <xry111@xry111.site>2022-10-01 13:35:59 +0800
commita8f3814a7b070ec4b8fcdf6960bd9e31824d91a5 (patch)
tree9ddd9d0ef84104a27c8b37f420cdcf68a1c9a201 /chapter07/introduction.xml
parent36cb08fbf0b27b76bc319409f712d0944b4b5354 (diff)
kernfs: technically, they are not needed for chroot
Chroot command itself does not require kernel VFS mounted. You can mount /proc, /sys, and /run after entering chroot with "mount -v -t proc proc /proc" etc. For /dev, if the host kernel supports devtmpfs, you can also mount /dev in chroot with "mount -v -t devtmpfs devtmpfs /dev". Even if the host does not support devtmpfs, it's still possible to mount /proc in chroot, then use "mount --bind /proc/1/dev /dev". It's just LFS editors decide to mount them before chroot. So reword some untrue assertions.
Diffstat (limited to 'chapter07/introduction.xml')
-rw-r--r--chapter07/introduction.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml
index 62a428416..d00f3fe2a 100644
--- a/chapter07/introduction.xml
+++ b/chapter07/introduction.xml
@@ -18,7 +18,7 @@
<para>For proper operation of the isolated environment, some communication
with the running kernel must be established. This is done via the
- so-called <emphasis>Virtual Kernel File Systems</emphasis>, which must be
+ so-called <emphasis>Virtual Kernel File Systems</emphasis>, which will be
mounted before entering the chroot environment. You may want to verify
that they are mounted by issuing the <command>findmnt</command> command.</para>