aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Trepl <thomas@linuxfromscratch.org>2023-11-20 00:30:17 +0100
committerThomas Trepl <thomas@linuxfromscratch.org>2023-11-20 00:30:17 +0100
commit49b383e4d8664bbdf7ad2a96cc517466188547ab (patch)
treec01d607408a8e80813ec19b4b6bd0185f73fd7ff
parentd704c058cd7c965010546b73a1236a7bf600e9c2 (diff)
parent01247ac90a16aa37dc31dec1d743d77d09194234 (diff)
Automatic merge of trunk into multilib
-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>