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

Victor Balada Diaz victor at bsdes.net
Sun Jan 15 01:34:54 PST 2006


On Sun, Jan 15, 2006 at 02:45:30AM -0500, Ashok Shrestha wrote:
> Hi,
> 
> I am curious to know if there is a way to compile a port such as X11
> or KDE faster.
> 
> I know in Gentoo, you can mount a part of RAM and compile in that.
> This substantially  decreases the compile time. Reference:
> http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs
> 
> Does anyone know how to do this in Freebsd?

You should take a look at mdconfig(8) and ports(7). With mdconfig
you create the ram-based disk and with WRKDIRPREFIX you tell the
ports to use that disk instead of the default workdir.

-- 
La prueba mas fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 


More information about the freebsd-hackers mailing list