Page 1 of 1

feature request: don't automount if canmount=noauto

PostPosted: Mon May 31, 2021 10:57 am
by webb
I use zrep, and I mark my backups to not automount with zfs set canmount=noauto, but org.openzfsonosx.zpool-import-all.plist cares not for these things.

No urgency because easy workaround:
Code: Select all
sudo su
cd /usr/local/libexec/zfs/launchd.d
cp -a
# implement import some
cd /Library/LaunchDaemons
sed 's/zpool-import-all\.sh/' org.openzfsonosx.zpool-import-all.plist > org.openzfsonosx.zpool-import-some.plist
launchctl unload -w org.openzfsonosx.zpool-import-all.plist
launchctl load -w org.openzfsonosx.zpool-import-some.plist