1 |
Steven Lembark <lembark@×××××××.com> wrote: |
2 |
|
3 |
> Volker Armin Hemmann wrote: |
4 |
>> On Sonntag, 13. April 2008, Neil Bothwick wrote: |
5 |
>>> On Sun, 13 Apr 2008 18:38:31 +0200, Florian Philipp wrote: |
6 |
>>>> Due to disk space restrictions I've decided to make /tmp a symlink |
7 |
>>>> to /var/tmp instead of reserving space for both. |
8 |
>>> Why not use tmpfs for /tmp? It usually requires very little space, and |
9 |
>>> will use swap if memory is tight. |
10 |
>> |
11 |
>> I second that, tmpfs for /tmp is great: |
12 |
>> |
13 |
>> tmpfs 512M 12K 512M 1% /tmp |
14 |
> |
15 |
> Catch: You loose it all on reboot. |
16 |
|
17 |
That's no catch. /tmp is meant to be empty upon reboot. |
18 |
No application should assume that things survive a reboot |
19 |
in /tmp - you use /var/tmp for temporary stuff, which is |
20 |
meant to be available after a reboot. |
21 |
|
22 |
> Since things like vi keep their in-work backups |
23 |
> there, |
24 |
|
25 |
What? I've got .blah.swp files all over the place. |
26 |
But not in /tmp. |
27 |
|
28 |
Michael |
29 |
|
30 |
-- |
31 |
gentoo-user@l.g.o mailing list |