hi, I am running ubuntu 7.1 (linux 2.6.22-12-generic)
i was trying to implement 'tail -f' (well tail -F actually but for this example i think its not relevent) and one of the features which i couldn't get in python was notification of truncation of a file. i looked at the inotify (the pyinotify package) and then the linux inotify functionality. i don't see the truncation notification anywhere... yet tail -F notifies that the file has been truncated and repositions its offset at top of the file to print out the next lines. can anyone shed some light on this? i guess i need to look at the bash tail code.. -- http://mail.python.org/mailman/listinfo/python-list