Improved zpool importer at startup

Developer discussions.

Improved zpool importer at startup

Postby glessard » Fri Feb 19, 2021 5:02 pm

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 598 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
glessard
 
Posts: 17
Joined: Thu Mar 27, 2014 11:27 am

Re: Improved zpool importer at startup

Postby lundman » Fri Mar 12, 2021 2:49 am

Awesome thanks, we should try to integrate it
User avatar
lundman
 
Posts: 1008
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Improved zpool importer at startup

Postby glessard » Fri Apr 16, 2021 2:59 pm

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 345 times
glessard
 
Posts: 17
Joined: Thu Mar 27, 2014 11:27 am


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 1 guest