Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] How to mount /tmp as tmpfs?
Date: Sun, 06 Jan 2013 22:24:17
Message-Id: CAK2H+efRcSg3SV+EjQMenSEMQP5kmR9PNsD=ELeWfL+0XhtE=A@mail.gmail.com
In Reply to: [gentoo-user] How to mount /tmp as tmpfs? by Nikos Chantziaras
1 On Sun, Jan 6, 2013 at 1:59 PM, Nikos Chantziaras <realnc@×××××.com> wrote:
2 > It seems that mounting /tmp as a tmpfs filesystem isn't just a matter of
3 > adding an fstab entry. Sometimes, on bootup, I get error messages:
4 >
5 > fusermount: error: /tmp/dsflkjslfjsdlsomegarbledname doesn't exist
6 >
7 > Or something like that (it scrolls by very fast and openrc doesn't seem to
8 > log anything.)
9 >
10 > Is there a safe way to mount /tmp early on? It seems that mounting it
11 > through fstab is mounting it too late and files have already been created in
12 > it (which are then lost when mounting it.)
13 >
14 >
15
16 Interesting question.
17
18 Have you perused these older threads, or possibly others like it? It
19 looks a _lot_ more involved than just an fstab entry.
20
21 http://forums.gentoo.org/viewtopic-t-371889-highlight-tmpfs.html
22
23 http://forums.debian.net/viewtopic.php?t=16450
24
25
26 HTH,
27 Mark