Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
On 09/14/2013 03:42 AM, PƔdraig Brady wrote:
> So resolving the link will change existing behaviour
> (with or without inotify), where the symlink is pointed
> to a new file during the tail -F run.
>
> I.E. `tail -F latest.log` will no longer work as expected
> when latest.log is a symlink which is adjusted like with:
> ln -nsf new.log latest.log
>
> So it seems like we'll need to add both the symlink and
> target to the inotify list perhaps.
Hmm, this sounds like it could get complicated as well:
the watch for the symlink target would have to be removed
again if the symlink is changed.
Have a nice day,
Berny