Ticket #2180 (closed defect: fixed)

Opened 8 months ago

Last modified 2 months ago

file system for /dev/shm differs from Documentation/filesystems/tmpfs.txt

Reported by: gsf Assigned to: jhuntwork@linuxfromscratch.org
Priority: normal Milestone: 7.0
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

In "8.2. Creating the /etc/fstab File", the user is instructed to create the following line in fstab:

shm            /dev/shm     tmpfs  defaults        0     0

The Documentation/filesystems/tmpfs.txt file that came with my kernel sources (2.6.22.19) suggests the following:

tmpfs          /dev/shm     tmpfs  defaults        0     0

Note that the "file system" is tmpfs, not shm. I believe it's just convention, creating no technical problems, but the LFS book is the only place I've seen "shm" used for the file system.

Change History

04/22/08 21:33:48 changed by jhuntwork@linuxfromscratch.org

  • owner changed from lfs-book@linuxfromscratch.org to jhuntwork@linuxfromscratch.org.
  • status changed from new to assigned.
  • milestone set to 7.0.

Looking through the version history, it seems that particular line was added nearly 5 years ago, in August of 03. At that time, the kernel in use for the development book was 2.4.21. Interestingly, the documentation for that kernel also uses 'tmpfs /dev/shm tmpfs'. Also, interestingly, vim's syntax feature recognizes 'tmpfs' but not 'shm'.

Still, I doubt it matters. You could probably call it 'Larry' and it would work fine. But to be consistent with other distros and what the kernel documentation says, I'll change it to correspond, unless, of course, anyone has a technical objection.

10/05/08 14:49:31 changed by bdubbs@linuxfromscratch.org

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed at revision 8577.