aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kernfs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/kernfs.xml')
-rw-r--r--chapter06/kernfs.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml
index 3e8d6d332..bfd583455 100644
--- a/chapter06/kernfs.xml
+++ b/chapter06/kernfs.xml
@@ -22,7 +22,7 @@
<para>Begin by creating directories onto which the file systems will be
mounted:</para>
-<screen><userinput>mkdir -v $LFS/{dev,proc,sys}</userinput></screen>
+<screen><userinput>mkdir -pv $LFS/{dev,proc,sys}</userinput></screen>
<sect2>
<title>Creating Initial Device Nodes</title>
@@ -107,7 +107,7 @@ mount -vt sysfs sysfs $LFS/sys</userinput></screen>
<screen><userinput>if [ -h $LFS/dev/shm ]; then
link=$(readlink $LFS/dev/shm)
- mkdir -p $LFS/$link
+ mkdir -pv $LFS/$link
mount -vt tmpfs shm $LFS/$link
unset link
else