From e49e2ea26119d5fe32b5d37ef0cac553944f9fa0 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 22 Nov 2023 04:16:37 +0800 Subject: clfs-ng: Fix some grammar errors --- chapter07/chroot.xml | 6 +++--- chapter07/introduction.xml | 2 +- chapter07/kernfs.xml | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/chapter07/chroot.xml b/chapter07/chroot.xml index 2ebdfd75e..021ab0fb6 100644 --- a/chapter07/chroot.xml +++ b/chapter07/chroot.xml @@ -38,8 +38,8 @@ readonly IGNOREEOF=1000 bash: no job control in this shell This is normal because the shell is not assigned with a - controlling terminal yet. Now set up controlling terminal and - environment variables: + controlling terminal yet. Now set up the controlling terminal and + some environment variables: exec setsid -c /usr/bin/env -i \ HOME=/root \ @@ -50,7 +50,7 @@ bash: no job control in this shell TESTSUITEFLAGS="-j$(nproc)" \ /bin/bash --login - The command replace the current shell process with a new shell + The command replaces the current shell process with a new shell process, with controlling terminal set up. diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index c1d9a1317..73aff97d8 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -35,7 +35,7 @@ All commands in this and following chapters are run as &root; on the target system, fortunately without access to the host system. Be careful anyway, as if the storage devices of your target system already - contain some important data, it's possible to destroy them with bad + contains some important data, it's possible to destroy them with bad commands. diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml index afe5e83b1..5f46c62d1 100644 --- a/chapter07/kernfs.xml +++ b/chapter07/kernfs.xml @@ -72,8 +72,9 @@ mount -vt tmpfs tmpfs /dev/shm -o nosuid,nodev Adjusting devtmpfs - Now proc filesystem - is mounted, we can replace the device nodes for standard I/O streams + Now with the + proc filesystem + mounted, we can replace the device nodes for standard I/O streams with symlinks to pseudo files in /proc/self/fd (which are symlinks to the files connected to the standard I/O streams for the current -- cgit v1.2.3-54-g00ecf