Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 292:d40e6e40c315
Comments
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 18 Sep 2022 14:10:40 +0200 |
| parents | f2b4edf5f6a3 |
| children | 73ac6bec36fe |
| files | sbin/ftjail |
| diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
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
