2018年11月16日 星期五

[MAC] tail -f doesn't work throng remote Mount SMB folder

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.

 

沒有留言:

How to restore a deleted onenote page

復原不小心誤刪的onenote