Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/ftjail @ 379:b4173e88c57c
Also create /var/mail within thin jails because it needs a dataset where atime is handled
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 19 Feb 2023 14:47:17 +0100 |
| parents | c5b1647cedb5 |
| children | 6be930eb7490 |
comparison
equal
deleted
inserted
replaced
| 378:997f3b4ec7d1 | 379:b4173e88c57c |
|---|---|
| 323 # | 323 # |
| 324 #zfs create -u -o canmount=off "${_ds_skel}/usr/ports" | 324 #zfs create -u -o canmount=off "${_ds_skel}/usr/ports" |
| 325 # | 325 # |
| 326 # XXX FIXME: What about home | 326 # XXX FIXME: What about home |
| 327 # | 327 # |
| 328 for _child in etc home root tmp usr/local var ; do | 328 # /var/mail is here because it relies on atime |
| 329 # | |
| 330 for _child in etc home root tmp usr/local var var/mail ; do | |
| 329 case "${_child}" in | 331 case "${_child}" in |
| 330 "tmp"|"var/tmp") | 332 "tmp"|"var/tmp") |
| 331 _child_zfsopts="-o sync=disabled -o setuid=off" | 333 _child_zfsopts="-o sync=disabled -o setuid=off" |
| 332 ;; | 334 ;; |
| 333 "home") | 335 "home") |
