From 85064a128bb2d96019bb4192c7a10c066e359f58 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 11 Dec 2022 16:33:44 +0800 Subject: [PATCH 1/4] grub: fix a typo --- chapter08/grub.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 831041635..316c1f2ac 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -210,7 +210,7 @@ mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completionsgrub-macbless Is the Mac-style bless for HFS or HFS+ files (bless - is peculiar to Apple machiines; it makes a device bootable) + is peculiar to Apple machines; it makes a device bootable) grub-macbless From 2fe0fd1eb2f6751d14db3c2bc6bf21841d36bf9d Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 11 Dec 2022 16:35:41 +0800 Subject: [PATCH 2/4] grub: HFS and HFS+ are file systems, not files --- chapter08/grub.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 316c1f2ac..04fbef91b 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -209,7 +209,7 @@ mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions grub-macbless - Is the Mac-style bless for HFS or HFS+ files (bless + Is the Mac-style bless for HFS or HFS+ file systems (bless is peculiar to Apple machines; it makes a device bootable) grub-macbless From f07d91ba37cc22006413e80eefdc8d9a4b72b36b Mon Sep 17 00:00:00 2001 From: David Bryant Date: Sun, 11 Dec 2022 16:29:49 -0600 Subject: [PATCH 3/4] Corrected idiom in section about "arpd". Corrected spelling of "front end" -- it's twp words, not one. Changed square brackets to parentheses; square brackets should only be used to delimit editorial remarks. Removed one definite article referring to the plural; "the" implies a single object. Changed "amount" to "number". In English, an amount refers to a continuous quantity, while a number refers to discrete objects (like networking packetts). Added a qualifier in the description of "ip": the list of commands is not exhaustive. Modified a few program descriptons to improve consistency of style. Changed QOS and COS to QoS and CoS after researching these abbreviations on the internet. "Quality of Service" and "Class of Service" appear, to me, to be the most common way of writing these phrases. --- chapter08/iproute2.xml | 47 +++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/chapter08/iproute2.xml b/chapter08/iproute2.xml index 25e7e81be..d57e4725c 100644 --- a/chapter08/iproute2.xml +++ b/chapter08/iproute2.xml @@ -42,12 +42,12 @@ Installation of IPRoute2 The arpd program included in this package will not - be built since it is dependent on Berkeley DB, which is not installed in - LFS. However, a directory for arpd and a man page will still - be installed. Prevent this by running the commands below. - If the arpd binary is needed, - instructions for compiling Berkeley DB can be found in the BLFS Book at - . + be built since it depends on Berkeley DB, which is not installed in + LFS. However, a directory and a man page for arpd will still + be installed. Prevent this by running the commands shown below. + (If the arpd program is needed, + instructions for compiling Berkeley DB can be found in the BLFS book at + .) sed -i /ARPD/d Makefile @@ -129,7 +129,7 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; genl - Generic netlink utility frontend + Generic netlink utility front end genl @@ -140,9 +140,9 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version;ifcfg A shell script wrapper for the ip command - [Note that it requires the arping and + (Note that this script requires the arping and rdisk programs from the - iputils package found at .] + iputils package found at .) ifcfg @@ -152,8 +152,8 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; ifstat - Shows the interface statistics, including the amount of - transmitted and received packets by interface + Shows interface statistics, including the number of + packets transmitted and received, by interface ifstat @@ -163,7 +163,7 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; ip - The main executable. It has several different functions: + The main executable. It has several different functions, including these: ip link <device> allows users to look at the state of devices and to make changes @@ -213,7 +213,7 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; nstat - Shows network statistics + Displays network statistics nstat @@ -223,7 +223,7 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; routef - A component of ip route. This is for flushing + A component of ip route, for flushing the routing tables routef @@ -234,7 +234,7 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; routel - A component of ip route. This is for listing + A component of ip route, for listing the routing tables routel @@ -266,7 +266,7 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; rtpr - Converts the output of ip -o back into a + Converts the output of ip -o into a readable form rtpr @@ -295,25 +295,26 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version; + tc - Traffic Controlling Executable; this is for Quality Of Service - (QOS) and Class Of Service (COS) implementations + Traffic control for Quality of Service + (QoS) and Class of Service (CoS) implementations - tc qdisc allows users to setup the queueing + tc qdisc allows users to set up the queueing discipline - tc class allows users to setup classes based + tc class allows users to set up classes based on the queuing discipline scheduling tc estimator allows users to estimate the - network flow into a network + data flow through a network - tc filter allows users to setup the QOS/COS + tc filter allows users to set up the QoS/CoS packet filtering - tc policy allows users to setup the QOS/COS + tc policy allows users to set up the QoS/CoS policies tc From 75aef881b75eb5e09c067ce8623827dfdff898ea Mon Sep 17 00:00:00 2001 From: David Bryant Date: Sun, 11 Dec 2022 16:47:14 -0600 Subject: [PATCH 4/4] Changed "front-end" to "front end". Webster says the hyphenated version is an adjective. When "front end" is a noun, as it is here, it should be spelled as two words. --- chapter08/groff.xml | 2 +- chapter08/m4.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter08/groff.xml b/chapter08/groff.xml index 1b0870d9d..e5ae875f3 100644 --- a/chapter08/groff.xml +++ b/chapter08/groff.xml @@ -222,7 +222,7 @@ groff - A front-end to the groff document formatting system; normally, it + A front end to the groff document formatting system; normally, it runs the troff program and a post-processor appropriate for the selected device diff --git a/chapter08/m4.xml b/chapter08/m4.xml index 13b032a25..14ce93291 100644 --- a/chapter08/m4.xml +++ b/chapter08/m4.xml @@ -89,7 +89,7 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h m4 has built-in functions for including named files, running Unix commands, performing integer arithmetic, manipulating text, recursion, etc. The m4 program - can be used either as a front-end to a compiler or as a macro processor + can be used either as a front end to a compiler or as a macro processor in its own right m4