jails; sharing parts of file system; mounting pieces of file
system in other positions, etc.
listuser at mb-itconsulting.com
Wed Jan 7 00:26:33 PST 2004
Chad, Rob, -
>>On linux you can do a
>>% mount -bind olddir newdir
>>to remount a piece of the FS somewhere else. The NullFS on FBSD seems
>>to allow similar things. However, as much as I could find on NullFS
> I'm currently setting up my 4.9-RELEASE webserver to do something
> similar - each jail gets a root filesystem, but /usr is shared readonly
> by all of them. The exception is /usr/local/etc, which is symlinked to
> /etc/local (in the jail).
> My impression, though I don't have much to back this up with, is that
> nullfs is reliable enough in read-only mode. Other folks may have a
> different opinion.
Personally, I use (localhost) nfs-mounts to remount parts of the file
system somewhere else. Works quite well.
More information about the freebsd-questions