Subject: howto have .work directory outiside /usr/pkgsrc ?
To: None <tech-pkg@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: tech-pkg
Date: 02/14/2006 17:36:40
--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I have a /usr/pkgsrc tree shared via NFS to several machines.
Because NFS I/O are slower than native IDE I/O (in my conf), I would
like servers compiling pkgsrc to create the .work directory in a local
place ; while still getting pkgsrc bases from NFS.

What I do now is :
- mount -t nfs server:/home/cvs/pkgsrc /usr/pkgsrc
- mount -t null /tmp/pkgwork /usr/pkgsrc
- plus a few other mounts to have distfiles and packages go to the NFS
  server for later share/reinstall.

Is there a better way to do it ?
Let say, like having something in mk.conf ; maybe
WORKDIR=3D/tmp/whatever or such...
I saw OBJHOSTNAME but, as I understood it, this will just change the
name of the .work directory, not it's root path, right ?

TIA,
	Jo
--=20
,- This mail runs ------.
`--------- NetBSD/smtp -'

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFD8gcY0/VH7L7F7Y4RAuBwAKCJDFxvJ2iD/OvnagbOpYmfleE8oQCgixew
Nwf6EVf4SnqTYUokT2NEthM=
=PRnx
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--