A litmus check request

RW rwmaillists at googlemail.com
Tue Sep 9 20:41:19 UTC 2014


On Tue, 9 Sep 2014 21:23:50 +0200
Roland Smith wrote:


> > In this fstab I have moved /usr/obj to tmpfs.....
> 
> Keep in mind that /usr/obj is only used for building the FreeBSD
> system itself.
> 
> Ports are built in the ports tree. Generally under
> /usr/ports/<category>/<portname>/work

That's just a default. 

> You could use unionfs (see mount_unionfs(8)) to overlay a tmpfs
> over /usr/ports. I've used unionfs with nullfs to use a single ports
> tree in multiple jails, see:

I set WRKDIRPREFIX=/tmp/PWORK in make.conf, the work directories are
then on tmpfs.



More information about the freebsd-questions mailing list