Recently, I mount a windows server folder on my local Mac machine to use tail -f to grep the log.
The problem is the tail -f doesn’t work. But it works after I reexecute “tail -f “. In the end, I found
It was caused “-f “ is checking inode. Therefore I use “-F”, it will also check if file recreate or relocated.
Everything works fine.
沒有留言:
張貼留言