Have a look to /etc/default/rcS
and to /etc/default/tmpfs
: these 2 files manage how (tmpfs) and what (rcS) is supposed to be run in tmpfs. No fstab entry needed unless if you want to add mount options (like noexec for /tmp) to the default ones.
Edit: these files seem not to be overly used in Ubuntu/LM (/etc/default/tmpfs is not present) but you can tune your default options here, like:
- Code: Select all
# implicit default
# mount /run/lock as a tmpfs (separately from /run)
# mount /run/shm as a tmpfs (separately from /run)
# mount /tmp as a tmpfs
these setting were previously present in /etc/default/rcS but are now migrated to /etc/default/tmpfs. See "man tmpfs".