1 |
On Tuesday, 17 March 2020 09:04:55 GMT Petr Vaněk wrote: |
2 |
|
3 |
> I use tmpfs to reduce compilation writes [1]. |
4 |
> |
5 |
> tmpfs /var/tmp/portage/ |
6 |
> tmpfs uid=portage,gid=portage,mode=0775,size=2G,noatime 0 0 |
7 |
> tmpfs /tmp/ tmpfs |
8 |
mode=0777,size=1G,noexec,nosuid,noatime 0 0 |
9 |
> |
10 |
> 2G is usually enough for most of packages. |
11 |
> |
12 |
> [1] https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs |
13 |
|
14 |
Do you need to specify a size? I just let the kernel juggle the allocation of |
15 |
memory to tmpfs and everything else. That is what it's for, no? :) |
16 |
|
17 |
-- |
18 |
Regards, |
19 |
Peter. |