From 39823aacae1b98c318c2c9b2483b1aa423e85475 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Sat, 30 Jul 2022 14:31:21 +0200 Subject: [PATCH] Document that /proc and /sys won't work Fixes #78 --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 ----------------------- -- 2.50.1