monitoring file changes in a sysfs filesystem



Hi!

I'm trying to monitor the changes in a file from /sys (as you know, it's a sysfs filesystem), but setting a file monitor with g_file_monitor_file doesn't work. No matter what I do, I can't receive the changed signal from the file monitor.

Is there any other way I could do this? (of course, I could manually poll the file, but I would like to avoid that if possible)

Thanks in advance!

--
Miguel Gomez <magomez igalia com>
Igalia - http://www.igalia.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]