9 Aug
2006
9 Aug
'06
16:01
Jerry Feldman wrote:
Also, by default inotify will follow symlinks by default, which is quite handy. The actual library in this case is "/usr/lib/libclamav.so.1.0.17", but of course it has a few symlinks, so I just monitor "/usr/lib/libclamav.so" - I would still prefer not having to hardcode "/usr/lib", but I can live with it :-)
What happens in the case where you change the location of a symbol in the shared library.
I'm probably not quite understanding your question, but any change in the library leads to a new library being copied to the target system. When my daemon detects a change to the library file, it'll close up shop, do some minimal clean-up and restart using exec(argv[0],argv). /Per Jessen, Zürich