GitXplorerGitXplorer
g

zfs-pool-importer

public
5 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
fb1ce999398178c7cf39a03ec5b863580ef69080

pass in the path to `zpool` as an argument

gglessard committed 4 years ago
Unverified
b28476b24b67dfebc703ce41ac5fe6d1a54fe035

set minimum macOS version to 10.15 (Catalina)

gglessard committed 4 years ago
Verified
e52978ab525c3b9bb2957fc6d62ed4f21609cdfe

Update README.md

gglessard committed 4 years ago
Unverified
14312e3c207a6b344ce2fddf4626be41043a4f17

use FileManager to create file rather than relying on /usr/bin/touch

gglessard committed 4 years ago
Verified
12d16f491a70f268da9e5a9416ee421386d4e303

Update README.md

gglessard committed 4 years ago
Unverified
3b43272d86d6013aae1d75b4afef981916458008

add a simple installation script

gglessard committed 4 years ago

README

The README file for this repository.

zfs-pool-importer

An improved tool to automatically import ZFS pools from OpenZFS when macOS starts up.

The advantages over the shell script are that this command shows up by itself in the list of programs that have requested full disk access, and that /bin/bash will not be required to have full disk access.

What's required for zfs-pool-importer to request full disk access to happen is that it must be launched once; the operation that requires full disk access will fail, and zfs-pool-importer will appear in the list at "System Preferences -> Security & Privacy -> Full Disk Access", unchecked. The user can then choose to enable it. The installation script in this repository performs the necessary launch.

There is no real difference in functionality compared to the shell script, though the log output is slightly different and, as described, the experience is clearer.

To install

$ git clone https://github.com/glessard/zfs-pool-importer
$ cd zfs-pool-importer
$ sudo ./install.sh

Additionally, you may want to disable the old shell script by removing zpool-import-all's launchd file:

$ sudo rm -f /Library/LaunchDaemons/org.openzfsonosx.zpool-import-all.plist