I mounted part of RAM as such:

mdmfs -s 500m md /mnt

Then put WRKDIRPREFIX=/path/to/md in /etc/make.conf.

It substantially reduces compile time by about 5-10 times.


Thanx to all ur replies.

-Ashok Shrestha

On 1/19/06, Wesley Shields <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 19, 2006 at 05:54:02PM +0100, Dag-Erling Sm?rgrav wrote:
> > Mike Meyer <[EMAIL PROTECTED]> 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
>


--
Ashok Shrestha
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to