aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/fstab.xml
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-08-26 19:05:12 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-08-26 19:05:12 +0000
commitcfdcaef7823d0b4841cbea42d4b555417568d7aa (patch)
tree711055b30e8bd750ee3dcf0613faa271f7172d2f /chapter08/fstab.xml
parent8a0d0eb26aa41410c523ddaaf9278b483855c54a (diff)
Added tmpfs mount at /dev/shm - Bugzilla bug 562
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2679 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/fstab.xml')
-rw-r--r--chapter08/fstab.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index c9ccdc951..80b515f15 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -15,6 +15,7 @@ following:</para>
/dev/*LFS* / *fs-type* defaults 1 1
/dev/*swap* swap swap pri=1 0 0
proc /proc proc defaults 0 0
+shm /dev/shm tmpfs defaults 0 0
# End /etc/fstab
<userinput>EOF</userinput></screen></para>
@@ -27,6 +28,10 @@ appropriate values (/dev/hda2, /dev/hda5 and reiserfs for example).</para>
<para>When adding a reiserfs partition, the <userinput>1 1</userinput> at
the end of the line should be replaced with <userinput>0 0</userinput>.</para>
+<para>A tmpfs mount is added at /dev/shm to comply with Posix shared memory
+requirements. For more information, see the file
+Documentation/filesystems/tmpfs.txt in the kernel source tree.</para>
+
<para>For more information on the various fields which are in the fstab
file, see <userinput>man 5 fstab</userinput>.</para>