Though this problem reproduces with VI and gedit, this happens when we perform file handling operations using java C and perl. In these cases, the files are modified by the program. Do you think the...
Hey thanks,
I need a way to uniquely determine if a log file is rotated/rolled up or not.
In case it is rotated, the original log file (a.log) will be renamed to a.log.1 and a new a.log is created....
Yes I have used the stat command to determine Inode.
The problem is when I modify the file, the inode changes , even though it is supposed to be the same.