Does multitail follow the inode or the file name by default?
4
votes
1
answer
1054
views
For
logrotate
d files one usually uses tail -F
instead of tail -f
to follow the log file contents. Does multitail(1)
automatically follow the name instead of the inode (which likely changes with the log rotation)?
I sifted through the documentation and also searched on the web, but wasn't able to come up with a conclusive answer.
----------
Thanks to the accepted answer I found that the man
page does mention the option I wanted, but uses the term "descriptor" instead of "inode". So this question and the answer should be the glue for the next person researching the topic.
-f Follow the following filename, not the descriptor.
--follow-all
For all files after this switch: follow the following filename, not the descriptor.
Asked by 0xC0000022L
(16938 rep)
Jan 30, 2013, 08:48 PM
Last activity: Sep 2, 2013, 10:05 PM
Last activity: Sep 2, 2013, 10:05 PM