Hello,

First question:

I have this in my /etc/fstab and I'm not certain it
is necessary or needs to be removed to facility cleanly
mounting /var/tmp/portage on tmpfs (ram): 

current fstab:

shm         /dev/shm     tmpfs   nodev,nosuid,noexec  0 0

[1]. Perhaps there is a better (updated wiki) reference I missed)?

proposed fstab entry:

tmpfs      /var/tmp/portage   tmpfs  size=2G         0 0


Second question:

My /var/tmp/portage is persistent between reboots. Often
I use those files under /var/tmp/portage to look at the results
of various compilation efforts (the gentoo tree, overlays, my codes,
etc etc). So, I would like to speed up compiles my using this
method, but I also want those records to remain  on the local HD until I
manually delete them.   (baggage I know, but that's one of my tools when
coding and auditing codes).  

Third question:

Which variables in /etc/portage/make.conf need to be set (explicitly how) to
effect a solution that uses ram for compiling, but also saves those
compilation records on HD until manually removed?


Discussion and suggestions for a more robust solution are most welcome.


James


[1] http://gentoo-en.vfose.ru/wiki/Portage_TMPDIR_on_tmpfs




Reply via email to