./tc addPort should magic mount jail src

Oliver Lehmann lehmann at ans-netz.de
Tue Jul 12 12:37:26 EDT 2005


Pav Lucistnik wrote:

> Also portbuild does not respect magic mount options from rawenv, it
> should auto-sense that 6-ikaros jail's src comes nullfs'ed from /usr/src
> and nullfs them from /usr/src to /space/builds/6-amd64/usr/src instead
> of trying to nfs mount /space/jails/6-ikaros/src which is nullfs'ed in
> the moment and thus nfs mount fails.

Ok, what you mean is, that in case there are MOUNT_JAIL/PORTSTREE defined
in rawenv, mount the portstree/src into the build out of them and don't
try to mount from /space/jails|portstrees/src|ports which could fallback
which would fallback into nfsmounting them from localhost if these are
nullfs mounts and -nullfs isn't specified

What about adding -nullfs as an argument to tinderbuild?

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the tinderbox-list mailing list