Quentin Glidic
2014-03-27 13:50:24 UTC
Hello,
In GIO (GLib), the GFileMonitor[1] mechanism is using inotify for local=
=20
files. To detect file creation and some other weird cases, they monitor=
=20
the directory of the file and not the file directly (see=20
get_basename/get_dirname[2] usage).
With sysfs, it does not work as expected for some reason.
From a quick discussion of IRC with GLib folks, it appears that it=20
would be better fixed in sysfs directly.
Would such a patch be accepted and if so, could I have some hints to=20
where I should start hacking to fix that?
Thanks,
[1] https://developer.gnome.org/gio/unstable/GFileMonitor.html
[2]=20
https://git.gnome.org/browse/glib/tree/gio/inotify/ginotifyfilemonitor.=
c#n82
--=20
Quentin =E2=80=9CSardem FF7=E2=80=9D Glidic
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel=
" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
In GIO (GLib), the GFileMonitor[1] mechanism is using inotify for local=
=20
files. To detect file creation and some other weird cases, they monitor=
=20
the directory of the file and not the file directly (see=20
get_basename/get_dirname[2] usage).
With sysfs, it does not work as expected for some reason.
From a quick discussion of IRC with GLib folks, it appears that it=20
would be better fixed in sysfs directly.
Would such a patch be accepted and if so, could I have some hints to=20
where I should start hacking to fix that?
Thanks,
[1] https://developer.gnome.org/gio/unstable/GFileMonitor.html
[2]=20
https://git.gnome.org/browse/glib/tree/gio/inotify/ginotifyfilemonitor.=
c#n82
--=20
Quentin =E2=80=9CSardem FF7=E2=80=9D Glidic
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel=
" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html