On Fri, 29 May 2009 17:24:06 -0700
Grant <emailgr...@gmail.com> wrote:
> Am I missing anything significant?  I've read that it's good to set up
> /tmp in RAM.  How can I do that?  In /etc/fstab I have:
> 
> shm /dev/shm tmpfs nodev,nosuid,noexec
> 
> Is that related?

Only in a way that it is tmpfs as well.

/tmp is rarely used and then mostly for stuff like different IPC
pointers like unix sockets, which lay no burden on any disk.

I've seen some suggestions of mounting /var/tmp/portage as tmpfs
hovewer, but the logic of it escapes me: you loose persistency for
nothing - any free memory will be used for FS cache anyway, so if
emerge is working on these files they'll be 99.9% in-memory anyway.

I only found it useful for RAM-challenged machines which can't spare
any megabytes for FS cache so I'm mostly curious about it's application
in home-like environment, as well.

-- 
Mike Kazantsev // fraggod.net

Attachment: signature.asc
Description: PGP signature

Reply via email to