inotify/sysfs

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

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux