aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter07/kernfs.xml2
-rw-r--r--chapter11/reboot.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml
index b5b0762bb..4757b257d 100644
--- a/chapter07/kernfs.xml
+++ b/chapter07/kernfs.xml
@@ -109,7 +109,7 @@ mount -vt tmpfs tmpfs $LFS/run</userinput></screen>
<screen><userinput>if [ -h $LFS/dev/shm ]; then
mkdir -pv $LFS/$(readlink $LFS/dev/shm)
else
- mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
+ mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
fi</userinput></screen>
</sect2>
diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml
index 6b2680ad0..90f7839b8 100644
--- a/chapter11/reboot.xml
+++ b/chapter11/reboot.xml
@@ -113,7 +113,7 @@
<para>Then unmount the virtual file systems:</para>
<screen><userinput>umount -v $LFS/dev/pts
-mountpoint -q $LFS/dev/shm &amp;&amp; umount $LFS/dev/shm
+mountpoint -q $LFS/dev/shm &amp;&amp; umount -v $LFS/dev/shm
umount -v $LFS/dev
umount -v $LFS/run
umount -v $LFS/proc