Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82895

Summary: Option for /var/tmp/portage ramdisk
Product: Portage Development Reporter: Daniel <lpmusix>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel 2005-02-21 17:52:14 UTC
I think it could be useful for there to be an feature that can be set within the FEATURES flag to make the /var/tmp/portage dir a ramdisk.  When an emerge starts it could check for this flag, if there, mount /var/tmp/portage as a ramdisk/tmpfs and then contiune with the install.  
I am compiling openmotif right now in a ramdisk and it seems to be going a lot faster than usual.  I'll post a comparative time after it's finished compiling.  I think this could be a useful feature for those with a good chunk of ram.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-02-21 17:54:16 UTC
mount -t tmpfs -o size=1G none /var/tmp/portage

You could even add it to /etc/fstab...
Comment 2 Daniel 2005-02-21 18:00:12 UTC
yes, that is true.  Either way works :)