Displaying 1 result from an estimated 1 matches for "0a33".
Did you mean:
0.33
2008 Nov 27
0
OT: Testing copytruncate
...ht be my simplistic perl script. I can't to a
head on the testdata file. A hexdump reveals some strange errors which I
believe is the cause of the problems, why I dont know.
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
1028000 3232 3635 3235 0a31 3232 3635 3235 0a32
1028010 3232 3635 3235 0a33 3232 3635 3235 0a34
The truncated file is fine and is perfectly readable.
So I have two questions really:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Given a well written program what is the potential data loss if any
when doing a copy truncate logrotate.
and
* why does the file get such strange entries...