Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82895 - Option for /var/tmp/portage ramdisk
Summary: Option for /var/tmp/portage ramdisk
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 17:52 UTC by Daniel
Modified: 2005-02-21 18:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)