aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-11-22 04:16:37 +0800
committerXi Ruoyao <xry111@xry111.site>2023-11-22 04:16:37 +0800
commite49e2ea26119d5fe32b5d37ef0cac553944f9fa0 (patch)
tree8bd69951c3f12fc838b3cb02c5d42754d667c182
parent7546d8b8505ecc175af166dfbec6798a6121dc9f (diff)
clfs-ng: Fix some grammar errorsxry111/clfs-ng
-rw-r--r--chapter07/chroot.xml6
-rw-r--r--chapter07/introduction.xml2
-rw-r--r--chapter07/kernfs.xml5
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</userinput></screen>
bash: no job control in this shell</computeroutput></screen>
<para>This is normal because the shell is not assigned with a
- controlling terminal yet. Now set up controlling terminal and
- environment variables:</para>
+ controlling terminal yet. Now set up the controlling terminal and
+ some environment variables:</para>
<screen><userinput>exec setsid -c /usr/bin/env -i \
HOME=/root \
@@ -50,7 +50,7 @@ bash: no job control in this shell</computeroutput></screen>
TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \
/bin/bash --login</userinput></screen>
- <para>The command replace the current shell process with a new shell
+ <para>The command replaces the current shell process with a new shell
process, with controlling terminal set up.</para>
<para>
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 @@
<para>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.</para>
</sect1>
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</userinput></screen>
<sect2 id="ch-tools-devadjust">
<title>Adjusting devtmpfs</title>
- <para>Now <systemitem class='filesystem'>proc</systemitem> filesystem
- is mounted, we can replace the device nodes for standard I/O streams
+ <para>Now with the
+ <systemitem class='filesystem'>proc</systemitem> filesystem
+ mounted, we can replace the device nodes for standard I/O streams
with symlinks to pseudo files in
<filename class="directory">/proc/self/fd</filename> (which are symlinks
to the files connected to the standard I/O streams for the current