Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: Nikos Chantziaras <realnc@×××××.com>
Subject: Re: [gentoo-user] How to mount /tmp as tmpfs?
Date: Sun, 06 Jan 2013 22:23:11
Message-Id: 10526421.cGfKvmQ1Nv@localhost
In Reply to: [gentoo-user] How to mount /tmp as tmpfs? by Nikos Chantziaras
1 Am Sonntag, 6. Januar 2013, 23:59:21 schrieb Nikos Chantziaras:
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
8 > to 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
12 > created in it (which are then lost when mounting it.)
13
14 tmpfs /var/tmp/portage tmpfs rw,size=8G 0 0
15 tmpfs /tmp tmpfs rw,size=1G 0 0
16
17 have that in fstab and never got errors.
18
19 --
20 #163933