Subject: howto have .work directory outiside /usr/pkgsrc ?
To: None <email@example.com>
From: Joel CARNAT <firstname.lastname@example.org>
Date: 02/14/2006 17:36:40
Content-Type: text/plain; charset=iso-8859-15
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 ?
,- This mail runs ------.
`--------- NetBSD/smtp -'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
-----END PGP SIGNATURE-----