Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff sbin/ftjail @ 292:d40e6e40c315
Comments
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 18 Sep 2022 14:10:40 +0200 |
| parents | a6c9eb25ae81 |
| children | 73ac6bec36fe |
line wrap: on
line diff
--- a/sbin/ftjail Sun Sep 18 12:04:00 2022 +0200 +++ b/sbin/ftjail Sun Sep 18 14:10:40 2022 +0200 @@ -773,7 +773,9 @@ _relative_name="${_relative_name%@*}" echo " -> $_relative_name" if [ -z "${_relative_name}" ]; then - # root + # + # Root + # if [ "${_opt_symlink}" = "yes" ]; then _root_canmount="${_opt_canmount}" else @@ -785,7 +787,9 @@ zfs send -Lec -p -v "${_name}" | zfs receive ${_opt_nomount} -v ${_root_canmount} -x mountpoint "${_ds_target}${_relative_name}" fi else - # child + # + # Children + # if [ "${_relative_name}" = "/usr" ]; then zfs send -Lec -p -v "${_name}" | zfs receive ${_opt_nomount} -v -o canmount=off -x mountpoint "${_ds_target}${_relative_name}" else
