monitoring file changes in a sysfs filesystem
- From: Miguel Gómez <magomez igalia com>
- To: gtk-app-devel-list gnome org
- Subject: monitoring file changes in a sysfs filesystem
- Date: Thu, 18 Sep 2008 12:58:55 +0200
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]