Talk:Portage TMPDIR on tmpfs

The paragraph: "Note the size option, this set how much RAM the tmpfs is permited to use before it's full or continuing on swap space. " it's inaccurate...
 * Indeed it is, thank you for pointing this out. /Ni1s 01:08, 6 November 2009 (GMT)

After looking into the matter, starting from here:  I stuck:

( the one following line is probably wrong, but how come all went well with some 20-ish or so updates afer sticking it in? )

PORTAGE_TMPDIR="/dev/shm"

and I stuck:

PORT_LOGDIR="/var/log/portage_logs"

after studying a little of the good ole manpages for make.conf and emerge

From now on, as per same manpages, I intend to add "--fail-clean" option to my "emerge -avtuDN ..." commands.

And esp. looking into a punctilious long make.conf somewhere here: 

not: PORTAGE_TMPDIR="/var/tmp/portage"

but more canonical location seem to be:

PORTAGE_TMPDIR="/var/tmp" which gives a

/var/tmp/portage

directory, once it begins to churn on compilations, anyway (the previous one will give: /var/tmp/portage/portage directory, which is unnecessarily deeper)

According to same punctilious (I quite like that feature in my colleagues sometimes), also:

PORTAGE_TMPFS="/dev/shm"

and that now seems to be generally accepted as standard among people Gentoo.

I am not knowledgeable enough to add more to this wiki, it'll take someone more advanced to check what I wrote here. Thanks!

Very old forum thread on this topic:. The "mode=1777" mount options sounds important.