Page 1 of 1

Improved zpool importer at startup

PostPosted: Fri Feb 19, 2021 5:02 pm
by glessard
Hi,

I wrote a simple replacement for the "zpool-import-all" shell script.
Unlike the script, the replacement gets listed in the "full disk access" portion of the Security control panel:
full-disk-access.png
full-disk-access.png (52.25 KiB) Viewed 3329 times


I've been using it successfully across a good number of reboots, and I think it would make for a better user experience than having to figure out that `bash` needs full disk access, as has been the status quo since macOS 10.15.

The questions are thus:
1. Would you be interested in incorporating this?
2. Where should it go?

For now it lives at https://github.com/glessard/zfs-pool-importer

Re: Improved zpool importer at startup

PostPosted: Fri Mar 12, 2021 2:49 am
by lundman
Awesome thanks, we should try to integrate it

Re: Improved zpool importer at startup

PostPosted: Fri Apr 16, 2021 2:59 pm
by glessard
In case anyone is wondering whether anything came of this, a simpler version of this improvement is integrated in 2.0.0-rc4.

"System Preferences -> Security & Privacy -> Privacy -> Full Disk Access" will look like this:
zpool-full-disk-accss.png
zpool-full-disk-accss.png (53.61 KiB) Viewed 3076 times