Date: Mon, 14 Feb 2022 14:42:42 +0100 From: "M. Mader" <mma@darktemple.ch> To: questions@freebsd.org Subject: Re: Sharing directories between jails on ZFS Message-ID: <08A54B2B-2C34-4627-BB17-67E058B0E866@darktemple.ch> In-Reply-To: <9b0514d4-0c7b-ea91-7c05-21386803f86b@fjl.co.uk> References: <9b0514d4-0c7b-ea91-7c05-21386803f86b@fjl.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 14=2E Februar 2022 14:03:40 MEZ schrieb Frank Leonhardt <freebsd-doc@fjl= =2Eco=2Euk>: >I've just realised I don't know how to do this! > >In the old days you'd use mount_nullfs to put common directories into=20 >chrooted environments=2E It still works, and works on Jails=2E But surely= =20 >with ZFS and/or Jails there's a more modern way? > >AFAIK it's still not possible to mount a ZFS dataset in more than one=20 >place, but this would seem to me to be the clean way of doing it=2E > >Any bright ideas? Am I living in the past? > >Thanks, Frank=2E > > > You can either give the jail its own dataset, or you can just mount an exi= sting one with nullfs=2E If you mount it with nullfs, you can mount it on the host as well as in th= e jail=2E
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08A54B2B-2C34-4627-BB17-67E058B0E866>