8 # BEFORE: FILESYSTEMS var
13 desc="Mount and share ZFS datasets"
16 start_postcmd="zfs_poststart"
18 required_modules="zfs"
22 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
31 if [ ! -r /etc/zfs/exports ]; then
32 touch /etc/zfs/exports
38 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then
47 # Some of the keys to decrypt datasets are potentially stored on ZFS
48 # datasets that just got mounted. Let's try to load those keys and
50 if checkyesno zfskeys_enable; then
51 /etc/rc.d/zfskeys start
58 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
71 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then