Easiest and safest way is to mount it using nullfs, this allows you to access a directory in multiple locations.
Let's assume zroot/downloads is mounted on /opt/downloads and your jail is set up under /opt/jail. Then you could use something as # mount -t nullfs /opt/downloads /opt/jail/opt/downloads.
You could make this permanent by adding mount.fstab to /etc/jail.conf so that the filesystem(s) get automatically (dis)mounted whenever you start or stop the jail.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.