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
