1 |
On 05/12/17 21:56, Neil Bothwick wrote: |
2 |
> On Tue, 05 Dec 2017 10:09:56 +0000, Peter Humphrey wrote: |
3 |
> |
4 |
>> $ grep tmpfs /etc/fstab |
5 |
>> tmpfs /var/tmp/portage tmpfs |
6 |
>> noatime,uid=portage,gid=portage,mode=0775 0 0 |
7 |
>> tmpfs /tmp tmpfs |
8 |
>> noatime,nosuid,nodev,noexec,mode=1777 0 0 |
9 |
> |
10 |
> Or you could set PORTAGE_TMPDIR to /tmp to save the second mount. |
11 |
> |
12 |
Dunno why portage puts this stuff in /var/tmp, rather than /tmp, but do |
13 |
be aware of what the standard says ... |
14 |
|
15 |
Stuff in /tmp should be cleared at shutdown/boot. |
16 |
|
17 |
Stuff in /var/tmp should survive a shutdown/boot. |
18 |
|
19 |
Of course, if, like me you've put /var/tmp/portage as tmpfs, then of |
20 |
course it won't survive a reboot, contrary to spec ... :-) |
21 |
|
22 |
Cheers, |
23 |
Wol |