Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a Mac and I have mounted a Windows network disk in my file system using "Connect to Server" in the Finder.

In the terminal when i do tail -f on a log file located on said network disk, tail is not updating the display when new lines are written to the log file. I'm assuming that tail normally listens to some os event when the file is updated and that this is not working when tailing files on a network drive.

How to solve this problem? Another program?

share|improve this question
    
tail normally watches for changes in file size; maybe these are not reported by Windows. – sendmoreinfo Jun 28 '13 at 5:58

sendmoreinfo is right, tail watches for changes in file size. Sometimes this does not happen correctly on mac clients (especially when samba is involved). I ended my search in this phenomenon after two days, the mac smb client is just wired sometimes (ever tried to connect to shares with signature check twice?).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.