diff --git a/usr/local/share/bastille/mount.sh b/usr/local/share/bastille/mount.sh index 2f4e25c8..6b0d6d40 100644 --- a/usr/local/share/bastille/mount.sh +++ b/usr/local/share/bastille/mount.sh @@ -108,7 +108,8 @@ if [ -z "${_hostpath}" ] || [ -z "${_jailpath}" ] || [ -z "${_type}" ] || [ -z " warn "Read: ${_fstab}" fi -# Exit if host path doesn't exist, type is not "nullfs", or mount is an advanced mount type "tmpfs,linprocfs,linsysfs,fdescfs,procfs" +# Warn on advanced mount option "tmpfs,linprocfs,linsysfs,fdescfs,procfs,zfs" +# Create host path if non-existent if { [ "${_hostpath}" = "tmpfs" ] && [ "$_type" = "tmpfs" ]; } || \ { [ "${_hostpath}" = "linprocfs" ] && [ "${_type}" = "linprocfs" ]; } || \ { [ "${_hostpath}" = "linsysfs" ] && [ "${_type}" = "linsysfs" ]; } || \