{"id":15673067,"url":"https://github.com/michaelsproul/autozfs","last_synced_at":"2025-08-17T12:38:37.288Z","repository":{"id":66210893,"uuid":"86971655","full_name":"michaelsproul/autozfs","owner":"michaelsproul","description":"Auto-mount ZFS external hard drives (macOS)","archived":false,"fork":false,"pushed_at":"2020-08-25T18:52:41.000Z","size":4,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-03T05:03:08.733Z","etag":null,"topics":["macos","zfs"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelsproul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-02T07:54:46.000Z","updated_at":"2023-06-04T03:24:42.000Z","dependencies_parsed_at":"2023-02-23T23:15:48.694Z","dependency_job_id":null,"html_url":"https://github.com/michaelsproul/autozfs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsproul%2Fautozfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsproul%2Fautozfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsproul%2Fautozfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsproul%2Fautozfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelsproul","download_url":"https://codeload.github.com/michaelsproul/autozfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252777357,"owners_count":21802589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","zfs"],"created_at":"2024-10-03T15:36:31.163Z","updated_at":"2025-05-06T22:21:47.137Z","avatar_url":"https://github.com/michaelsproul.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autozfs\n\nDaemon for OS X that listens for external drives being plugged in and automatically imports\nZFS pools.\n\nIf you use or want to use ZFS on an external hard drive, you might find this useful :)\n\n## Installation\n\nYou'll need [OpenZFSOnOSX][] or similar installed.\n\nTo build:\n\n```bash\n$ git clone https://github.com/michaelsproul/autozfs.git\n$ cd autozfs\n$ make\n```\n\nTo install:\n\n```bash\n$ sudo cp autozfs /usr/local/bin/\n$ sudo cp autozfs.plist /Library/LaunchDaemons/\n```\n\nThen either reboot, or run:\n\n```bash\n$ sudo launchctl load /Library/LaunchDaemons/autozfs.plist\n```\n\n## How does it work?\n\nA background daemon started via `launchd` and running as root listens for \"Disk Arbitration\"\nevents, and each time it detects a disk connection it runs `zpool import -a`. Simple!\n\n## Debugging\n\n* You should be able to see a process called `autozfs` running, check Activity Monitor, `ps`,\n  `htop` or whatever.\n* The daemon logs inane messages to `/private/var/log/autozfs.{log,err}`.\n\n## Caveats\n\n* OS X only (for now).\n* IMPORTS ALL POOLS. This is hacky.\n* Assumes `zpool` is installed in `/usr/local/bin`. This may not be true of all systems...\n* Only auto-mounts USB devices, but it's an artificial restriction -- delete the USB stuff\n  in the source and it should do Firewire/Thunderbolt/whatever just fine.\n\n## License\n\nCopyright (c) 2017, Michael Sproul.\n\nLicensed under the terms of the 3-clause BSD license.\n\n[OpenZFSOnOSX]: https://openzfsonosx.org/wiki/Downloads\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelsproul%2Fautozfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelsproul%2Fautozfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelsproul%2Fautozfs/lists"}