speed up port compiling using RAM (tmpfs) ???

Wesley Shields wxs at csh.rit.edu
Thu Jan 19 09:51:13 PST 2006


On Thu, Jan 19, 2006 at 05:54:02PM +0100, Dag-Erling Sm?rgrav wrote:
> Mike Meyer <mwm at mired.org> writes:
> > Will using a swap-backed disk change anything?
> 
> Not really.
> 
> > How about the best way to configure things to use two disks for the
> > compile?
> 
> I'm not sure what you are trying to achieve.  Unlike the base system,
> the ports tree does not use separate source and object directories.

I think he is trying to get at a scenario where WRKDIR is on a seperate
disk from the one /usr/ports is on.

To answer his question, assuming this is what he is going, for why not
just add a new physical disk to the system per the handbook, and set
WRKDIR to be where ever that disk is mounted.

-- WXS


More information about the freebsd-hackers mailing list