Comment 3 for bug 599271

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Both Tracker and the GFileMonitor (obtainable fx. vi g_file_monitor()) use inotify. And I am quite sure that GIOs monitoring doesn't provide recursive watching.

Last time I check Tracker simply crawled you FS on each startup installing monitors on all directories in the indexed paths.

When FSNotify is universally available in kernels and there pops up a GIO backend for GFileMonitor that uses fsnotify we may have a chance of doing relatively cheap recursive watching. Otherwise btrfs will also be of help when it goes mainstream. But until then I'd strongly advice against large scale file monitoring (unless one has significant manpower resources to throw at it).