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

Daniel O'Connor doconnor at gsoft.com.au
Sun Jan 15 13:49:41 PST 2006


On Sunday 15 January 2006 18:15, Ashok Shrestha wrote:
> 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?

Make a RAM drive using mdconfig and the mount it somewhere.

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

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060115/a5356b45/attachment.bin


More information about the freebsd-hackers mailing list