[Bug 882] New: Extraneous tmpfs mounts of /tmp and /media/ram in fstab

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue Sep 18 19:05:18 CEST 2007


           Summary: Extraneous tmpfs mounts of /tmp and /media/ram in fstab
           Product: OpenMoko
           Version: 2007.2
          Platform: Neo1973
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: sysinit
        AssignedTo: buglog at lists.openmoko.org
        ReportedBy: mwester at dls.net
                CC: buglog at lists.openmoko.org

The /etc/fstab file explicitly mounts /tmp as well as /media/ram as filesystems
of type tmpfs.  This conflicts with the configuration of the "volatiles"
mechanism which redirects  (among others) /tmp to be a symbolic link into
/var/volatile (which is a tmpfs filesystem).  (This also results in an error
message printed at boot time -- "Device or resource busy" -- and a strange entry
 symbolic link from /tmp/tmp->/var/tmp).

Additionally, there is no need for /media/ram to be mounted as a tmpfs
filesystem, as applications and users should use a directory in /var/volatiles

The solution is to remove the lines for /tmp and /media/ram from the fstab.

[Note that as an alternative, if it is deemed desirable that we have two tmpfs
mounts for temporary data, then the /etc/default/volatiles configuration should
be adjusted to remove the reference to /tmp.]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.

More information about the buglog mailing list