aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/kernfs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter07/kernfs.xml')
-rw-r--r--chapter07/kernfs.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml
index 4757b257d..049f6e804 100644
--- a/chapter07/kernfs.xml
+++ b/chapter07/kernfs.xml
@@ -107,7 +107,7 @@ mount -vt tmpfs tmpfs $LFS/run</userinput></screen>
we must explicitly mount a tmpfs:</para>
<screen><userinput>if [ -h $LFS/dev/shm ]; then
- mkdir -pv $LFS/$(readlink $LFS/dev/shm)
+ (cd $LFS/dev; mkdir $(readlink shm))
else
mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
fi</userinput></screen>