linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* inotify/sysfs
@ 2014-03-27 13:50 Quentin Glidic
  2014-03-28 17:07 ` inotify/sysfs Jan Kara
  2014-03-31 18:52 ` inotify/sysfs Al Viro
  0 siblings, 2 replies; 7+ messages in thread
From: Quentin Glidic @ 2014-03-27 13:50 UTC (permalink / raw)
  To: linux-fsdevel

Hello,

In GIO (GLib), the GFileMonitor[1] mechanism is using inotify for local 
files. To detect file creation and some other weird cases, they monitor 
the directory of the file and not the file directly (see 
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 
would be better fixed in sysfs directly.

Would such a patch be accepted and if so, could I have some hints to 
where I should start hacking to fix that?

Thanks,

[1] https://developer.gnome.org/gio/unstable/GFileMonitor.html
[2] 
https://git.gnome.org/browse/glib/tree/gio/inotify/ginotifyfilemonitor.c#n82

-- 

Quentin “Sardem FF7” Glidic
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-31 20:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27 13:50 inotify/sysfs Quentin Glidic
2014-03-28 17:07 ` inotify/sysfs Jan Kara
2014-03-29  6:25   ` inotify/sysfs Greg KH
2014-03-31 18:52 ` inotify/sysfs Al Viro
2014-03-31 19:13   ` inotify/sysfs Linus Torvalds
2014-03-31 20:00     ` inotify/sysfs Al Viro
2014-03-31 20:10       ` inotify/sysfs Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).