using /usr/ports between jails

Lowell Gilbert freebsd-questions-local at
Sat Oct 25 07:44:29 PDT 2003

David Rio <drio at> writes:

> I want to share my /usr/ports between some jails. /usr/ports and
> jails are running on the same machine.
> AFAIK I have two options:
> 1. nfs (export /usr/ports through nfs)
> 2. mount_union: 
>    # mount_union /usr/ports /usr/jail/jail1/usr/ports
> Is there anyone using any of this options? Can you share with
> me your experiences?  

This is discussed regularly on a variety of FreeBSD lists.  You can
search the list archives if you want.

One particularly easy solution is to use NFS.  You may not want to let
the clients mount it R/W, though.

More information about the freebsd-questions mailing list