Skip to content

Commit

Permalink
Add FEN backend to support illumos and Solaris (#371)
Browse files Browse the repository at this point in the history
Add support for illumos and Solaris.

Co-authored-by: Martin Tournoij <martin@arp242.net>
  • Loading branch information
nshalman and arp242 committed Oct 13, 2022
1 parent 5f8c606 commit 2b19046
Show file tree
Hide file tree
Showing 7 changed files with 552 additions and 24 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -113,17 +113,17 @@ jobs:
# illumos
testillumos:
runs-on: macos-12
name: test (illumos, 1.17)
name: test (illumos, 1.19)
steps:
- uses: actions/checkout@v2
- name: test (illumos, 1.17)
- name: test (illumos, 1.19)
id: test
uses: papertigers/illumos-vm@r38
with:
prepare: |
pkg install go-117
pkg install go-119
run: |
/opt/ooce/go-1.17/bin/go test ./...
/opt/ooce/go-1.19/bin/go test ./...
# Older Debian 6, for old Linux kernels.
testDebian6:
Expand Down
9 changes: 5 additions & 4 deletions README.md
@@ -1,5 +1,5 @@
fsnotify is a Go library to provide cross-platform filesystem notifications on
Windows, Linux, macOS, and BSD systems.
Windows, Linux, macOS, BSD, and illumos.

Go 1.16 or newer is required; the full documentation is at
https://pkg.go.dev/github.com/fsnotify/fsnotify
Expand All @@ -13,17 +13,18 @@ may include additions/changes.**
Platform support:

| Adapter | OS | Status |
| --------------------- | ---------------| -------------------------------------------------------------|
| --------------------- | -------------- | ------------------------------------------------------------ |
| inotify | Linux 2.6.32+ | Supported |
| kqueue | BSD, macOS | Supported |
| ReadDirectoryChangesW | Windows | Supported |
| FEN | illumos | Supported |
| FSEvents | macOS | [Planned](https://github.com/fsnotify/fsnotify/issues/11) |
| FEN | Solaris 11 | [In Progress](https://github.com/fsnotify/fsnotify/pull/371) |
| fanotify | Linux 5.9+ | [Maybe](https://github.com/fsnotify/fsnotify/issues/114) |
| USN Journals | Windows | [Maybe](https://github.com/fsnotify/fsnotify/issues/53) |
| Polling | *All* | [Maybe](https://github.com/fsnotify/fsnotify/issues/9) |

Linux and macOS should include Android and iOS, but these are currently untested.
Linux, macOS, and illumos should include Android, iOS, and Solaris, but these
are currently untested.

Usage
-----
Expand Down

0 comments on commit 2b19046

Please sign in to comment.