# HG changeset patch # User Franz Glasner # Date 1663503040 -7200 # Node ID d40e6e40c315d46117df269f1f809ff90ca50183 # Parent f2b4edf5f6a347ca195fc07956b16553bf6bb6bd Comments diff -r f2b4edf5f6a3 -r d40e6e40c315 sbin/ftjail --- 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