Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jan 2006 19:07:00 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-hackers@freebsd.org
Cc:        Ashok Shrestha <ashok.shrestha@gmail.com>, Brandon Flowers <flowersster@gmail.com>
Subject:   Re: speed up port compiling using RAM (tmpfs) ???
Message-ID:  <200601151907.01027.doconnor@gsoft.com.au>
In-Reply-To: <79e2026f0601142345x1a9269bdl3153d1bb110be08d@mail.gmail.com>
References:  <79e2026f0601142345x1a9269bdl3153d1bb110be08d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1838399.n5YTgtV7IJ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3D/path/to/md in /etc/make.conf

=2D-=20
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

--nextPart1838399.n5YTgtV7IJ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBDygms5ZPcIHs/zowRAoWSAKCgI0+mXstj03gNMQkZG1qUyGOJQACfdTFI
Db/WXgfeSgHRCn6bd/7c2Zc=
=VxlU
-----END PGP SIGNATURE-----

--nextPart1838399.n5YTgtV7IJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601151907.01027.doconnor>