inotifyd problems
Piotr Grudzinski
piotr at powersmiths.com
Thu Nov 27 19:35:11 UTC 2008
Vladimir,
1. When I was discovering that the inotify existed you were already an expert.
2. In my code if I open I close; the same with the add - remove pair.
3. Now I know that inotify can remove some watches internally and the close() was implemented to do all the required cleanup. So I would just call close(). (Just personal preference).
Thanks for all the effort,
Piotr
According to http://www.linuxjournal.com/article/8478 - close() will do all the required cleanup job.
It was you, Piotr, who requested for ...to have inotify_rm_watch() for each inotify_add_watch() call... :)
I, personally, turn FEATURE_CLEAN_UP off and rely upon the system housekeeping.
Regards,
--
Vladimir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20081127/10ee6324/attachment-0002.htm
More information about the busybox
mailing list