]> go.fuhry.dev Git - fsnotify.git/commitdiff
Document that /proc and /sys won't work
authorMartin Tournoij <martin@arp242.net>
Sat, 30 Jul 2022 12:31:21 +0000 (14:31 +0200)
committerMartin Tournoij <martin@arp242.net>
Sat, 30 Jul 2022 12:31:21 +0000 (14:31 +0200)
Fixes #78

README.md

index 9ce2965b86e11bd59d7cf09447fd3cea5a84bda2..41871a68ab78f7c54d81b896a71aeb26dd184662 100644 (file)
--- 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
 -----------------------