Nautilus and inotify events
- From: Hervé Martinet <herve martinet gmail com>
- To: nautilus-list gnome org
- Subject: Nautilus and inotify events
- Date: Mon, 20 Dec 2010 20:42:53 +0100
Hello,
I have a problem with Nautilus and inotify events. When I rename a file
in nautilus I can catch two events :
1. name = old_filename.ext / mask = IN_MOVED_FROM / cookie = a_number
2. name = new_name.ext / mask = IN_OPEN / cookie = 0
When I do 'mv' in command line it's right :
1. name = old_filename.ext / mask = IN_MOVED_FROM / cookie = a_number
2. name = new_name.ext / mask = IN_MOVED_TO / cookie = a_number
with 2 cookies equals
I can understand an IN_DELETE and an IN_CREATE (this has same effect)
but not an IN_MOVED_FROM and an IN_OPEN.... and IN_OPEN without IN_CLOSE
is very disappointing...
It's on Nautilus 2.32.0 and Ubuntu 10.10
Anyone knows if it is a Nautilus bug or otherwise ? This cause file
indexing system cannot works well...
Regards
--
Hervé
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]