8 # BEFORE: FILESYSTEMS var
13 desc="Mount and share ZFS datasets"
17 required_modules="zfs"
21 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
30 for cachefile in /boot/zfs/zpool.cache /etc/zfs/zpool.cache; do
31 if [ -r $cachefile ]; then
32 zpool import -c $cachefile -a
37 if [ ! -r /etc/zfs/exports ]; then
38 touch /etc/zfs/exports
44 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then
53 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
66 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then