aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-09-20 12:20:58 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-09-20 12:20:58 -0500
commit16cd09633edb80d587548ce3cd2296b4b803f210 (patch)
treea6a1c8b087bde5baeee7ad1ff0157d46697cde7d /chapter10
parentcc8e57dc7ad8dd6acc35b050fbd2a92c352bb9e8 (diff)
Adjust instructions for /dev/shm when creating virtual filesystems.
Some host create /dev/shm as a tmpfs. Some have is as a symlink to a location in another directory. This change handles both cases. The change to the sysV bootscripts now creates /dev/shm as a separate tmpfs from /run. This makes LFS sysV and systemd versions treat /dev/shm the same.
Diffstat (limited to 'chapter10')
-rw-r--r--chapter10/fstab.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/chapter10/fstab.xml b/chapter10/fstab.xml
index ebfae3aaf..f78b234db 100644
--- a/chapter10/fstab.xml
+++ b/chapter10/fstab.xml
@@ -32,6 +32,7 @@ sysfs /sys sysfs nosuid,noexec,nodev 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /run tmpfs defaults 0 0
devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
+tmpfs /dev/shm tmpfs nosuid,nodev 0 0
# End /etc/fstab</literal>
EOF</userinput></screen>