Inotify won’t trigger on file-changes in /sys – what ways are there to subscribe to changes in there?
Inotify won’t trigger on file-changes in /sys – what ways are there to subscribe
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use udev and udev rules to get a notification to changes (hardware hotplug, drivers load, firmware load etc.) that are reflected in /sys.
See http://hackaday.com/2009/09/18/how-to-write-udev-rules/ for details