inotify doesnt work on /sys and /proc file systems. So how can I monitor a /sys partition file without polling?
What kind of polling? Do you mean a sleep/check loop? Or do you mean the
According to a 2009 email from kernel developer Greg KH, the best option is to use
On the other hand, the current inotify FAQ suggests it might work.
Why not try it and find out?
I am sorry I do not have enough reputation to comment and this is kind of old topic. However out of curiosity, how exactly did you manage to monitor /proc filesystem ? I have been looking for a long time for how to asynchronously monitor(interrupt, signal...) /proc and /sys instead of keep polling ( not