I've created a file 'foo', and used tail -f to follow the changes to that file. I then wrote 'test' to the file and saved it, and tail reported 'test', which is fine. I then deleted 'test' and saved the file, and tail reported 'tail: foo: file truncated', which is fine. I then wrote 'test' again and saved the file, and tail reported 'est' instead of 'test'. It seems that any time the file that tail is following is truncated, tail will miss the first byte of any information that is written to the file after the truncation.

--
You've read my email.  Windows must restart for the changes to take effect.






Reply via email to