From: Martin Tournoij Date: Sat, 30 Jul 2022 12:31:21 +0000 (+0200) Subject: Document that /proc and /sys won't work X-Git-Tag: v1.7.2~90 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=39823aacae1b98c318c2c9b2483b1aa423e85475;p=fsnotify.git Document that /proc and /sys won't work Fixes #78 --- diff --git a/README.md b/README.md index 9ce2965..41871a6 100644 --- a/README.md +++ b/README.md @@ -90,9 +90,14 @@ watcher is on the roadmap: [#18]). As of now, yes (you can read both channels in the same goroutine, you don't need a separate goroutine for both channels; see the example). -### Why don't notifications work with NFS, SMB, or FUSE? +### Why don't notifications work with NFS, SMB, FUSE, /proc, or /sys? fsnotify requires support from underlying OS to work. The current NFS and SMB -protocols does not provide network level support for file notifications. +protocols does not provide network level support for file notifications, and +neither do the /proc and /sys virtual filesystems. + +This could be fixed with a polling watcher ([#9]), but it's not yet implemented. + +[#9]: https://github.com/fsnotify/fsnotify/issues/9 Platform-specific notes -----------------------