Re: monitoring file changes in a sysfs filesystem

2008-10-16 Thread Miguel Gómez
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. sysfs, being a virtual file system, doesn't generate an

Re: monitoring file changes in a sysfs filesystem

2008-10-16 Thread Emmanuele Bassi
On Thu, 2008-09-18 at 12:58 +0200, Miguel Gómez wrote: > 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 mo

Re: monitoring file changes in a sysfs filesystem

2008-10-16 Thread Tomasz Sterna
Dnia 2008-09-18, czw o godzinie 12:58 +0200, Miguel Gómez pisze: > 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 > fro

monitoring file changes in a sysfs filesystem

2008-09-18 Thread Miguel Gómez
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 cours