nullfs and NFS the only options ?

Joe Marcus Clarke marcus at marcuscom.com
Sun Jan 23 13:04:47 EST 2011


On 1/23/11 12:36 PM, Joe Marcus Clarke wrote:
> On 1/23/11 5:55 AM, Chris Rees wrote:
>> Hi all again,
>>
>> I've been looking at the code for mounting Portstrees and Jails; is
>> there a reason
>> we couldn't add a -symlink option to do away with the need to use
>> mount? I'm only
>> asking because it's a real hindrance to installing in a FreeBSD Jail
>> having to use mount.
>>
>> I'm sure I'm overlooking something simple, so before I try to make a
>> patch tell me what i've
>> missed!
> 
> A Jail is a chroot.  This is more or less a separate instance of the
> userland to isolate the port build into its own environment.  There is
> no way to symlink from the host into this chroot.  You need to mount,
> and the only way to do that is with NFS or nullfs.

I will also add that another alternative is to copy the contents of the
src/PortsTree to the Build every time.  This is much heavier weight than
a simple mount.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


More information about the tinderbox-list mailing list