# jail-base is a DESTDIR directory from the jail(8) manpage # it is mounted read-only across a fluff mountpoint to disallow # any further changes to it. /usr/jail-base /usr/jail-base-ro nullfs ro 0 0 # A file backed filesystem is mounted for each jail- this essentially # allows us to apply a quota to each jail without needing real partitions # or a quota(8) sort of thing on user-id level (as, quite frankly, we could # not work out how to do this for individual jails). # md /usr/md/172.21.16.130 mfs rw,-F/usr/md/mdimage.172.21.16.130.fs 0 0 md /usr/md/172.21.16.131 mfs rw,-F/usr/md/mdimage.172.21.16.131.fs 0 0 md /usr/md/172.21.16.132 mfs rw,-F/usr/md/mdimage.172.21.16.132.fs 0 0 md /usr/md/172.21.16.133 mfs rw,-F/usr/md/mdimage.172.21.16.133.fs 0 0 md /usr/md/172.21.16.134 mfs rw,-F/usr/md/mdimage.172.21.16.134.fs 0 0 md /usr/md/172.21.16.135 mfs rw,-F/usr/md/mdimage.172.21.16.135.fs 0 0 md /usr/md/172.21.16.136 mfs rw,-F/usr/md/mdimage.172.21.16.136.fs 0 0 md /usr/md/172.21.16.137 mfs rw,-F/usr/md/mdimage.172.21.16.137.fs 0 0 md /usr/md/172.21.16.138 mfs rw,-F/usr/md/mdimage.172.21.16.138.fs 0 0 md /usr/md/172.21.16.139 mfs rw,-F/usr/md/mdimage.172.21.16.139.fs 0 0 md /usr/md/172.21.16.140 mfs rw,-F/usr/md/mdimage.172.21.16.140.fs 0 0 md /usr/md/172.21.16.141 mfs rw,-F/usr/md/mdimage.172.21.16.141.fs 0 0 md /usr/md/172.21.16.142 mfs rw,-F/usr/md/mdimage.172.21.16.142.fs 0 0 # # Next we use the readoonly! jail as the bottom (-b flag) of a union mount with the # file based disk. Hence each jail gets a 'real' freebsd DESTDIR which can be very complete # and a few 100Mb's of usable real space. # /usr/jail-base-ro /usr/md/172.21.16.130-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.131-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.132-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.133-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.134-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.135-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.136-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.137-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.138-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.139-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.140-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.141-m unionfs rw,noclusterw,-b 0 0 /usr/jail-base-ro /usr/md/172.21.16.142-m unionfs rw,noclusterw,-b 0 0