Opened 17 years ago
Closed 16 years ago
#2180 closed defect (fixed)
file system for /dev/shm differs from Documentation/filesystems/tmpfs.txt
Reported by: | Gabriel Sean Farrell | Owned by: | Jeremy Huntwork |
---|---|---|---|
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 (2)
comment:1 by , 17 years ago
Milestone: | → 7.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
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.