2005-10-12 20:26:10

by Michal Suchanek

[permalink] [raw]
Subject: Not receiving MOVE_TO events with inotify

Hello

I tried the inotify feature and I found I do not receive MOVE_TO events.
I use linux 2.6.13 from Debian, ext3 filesystem.

I set a watch on /tmp. When I move /tmp/file_a to /tmp/file_b I
receive only one event on file_a (I assume it is move_from, I did not
decode it).

Attaching a small C program that I used to print events that occur on /tmp.

Thanks

Michal Suchanek


--
Support the freedom of music!
Maybe it's a weird genre .. but weird is *not* illegal.
Maybe next time they will send a special forces commando to your picnic ..
.. because they think you are weird.
http://www.music-versus-guns.org http://en.policejnistat.cz


Attachments:
(No filename) (654.00 B)
test.c (864.00 B)
Download all attachments