Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2020 17:01:00 +1000
From:      Dewayne Geraghty <>
Subject:   Re: Moving sources (base/ports) from /usr
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi Ede,
Something like this might help, where you construct:
then on as needed basis, you can
mount_nullfs /import/src /usr/src
mount_nullfs /import/ports /usr/ports

I have something like this when I'm using one source (for src and ports)
on a virtual disk under virtualbox (on Win) across multiple VM's.  This
also means I don't have to fiddle with variables.


On 9/05/2020 5:04 am, Ede Wolf wrote:
> Hi,
> As the title implies, I would like to move everything src/build related
> from /usr to a different folder, let's call it /import. And since it
> won't be mounted permanently, I'd rather like not to use links. That would certainly work, but it's ugly. 
> So I am looking for a more clean way of archiving this, but currently I am having trouble to find a
> comprehensive list of the  variables, that would need to be set, and more over, where the proper place woulf be, to do so. 
> More often than not it is not /etc/make.conf 
> For MAKEOBJDIRPREFIX it is src-env.conf, but what about the others?
> SRCDIR, PORTSDIR, WRKDIRPREFIX, DISTFILES, WRKSRC? Is that list correct and/or complete?
> Is there any documentation providing a decent overview of the
> environment (base as well as ports)? Or maybe anyone is running this
> kind of setup as well?
> Thanks for helping out
> Ede
> _______________________________________________
> mailing list
> To unsubscribe, send any mail to ""

Want to link to this message? Use this URL: <>