After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 331087 - [patch] Watch parent directories to catch all rename events
[patch] Watch parent directories to catch all rename events
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Monitoring (inotify)
cvs (head)
Other Linux
: Normal enhancement
: ---
Assigned To: John McCutchan
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-14 05:15 UTC by John McCutchan
Modified: 2008-09-06 18:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-vfs-parent-watch.patch (16.87 KB, patch)
2006-02-14 05:17 UTC, John McCutchan
none Details | Review

Description John McCutchan 2006-02-14 05:15:19 UTC
Currently if you have:

/tmp/foo/bar
watching /tmp/foo/bar

and a user does:

mv /tmp/foo /tmp/cat

you won't get any events. 

This is because FAM and the current inotify backend don't monitor the parent
directories and consequently can't push rename events down the directory tree.
Comment 1 John McCutchan 2006-02-14 05:17:12 UTC
I'm going to attach an alpha patch. I have tested it under nautilus and it appears to work properly, but ymmv. 
Comment 2 John McCutchan 2006-02-14 05:17:36 UTC
Created attachment 59306 [details] [review]
gnome-vfs-parent-watch.patch
Comment 3 André Klapper 2008-09-06 18:54:54 UTC
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome.

If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs.

@Bugzilla mail recipients: query for
      gnome-vfs-mass-close
to get rid of this notification noise all together.


General further information: http://en.wikipedia.org/wiki/GVFS 
Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html