J
Jay
Noticed a strange problem with zeros being added to the end of a file
we are writing data to if power drops out. System is one EWF protected
CF and one non EWF protected CF. We are logging data to a file.
Basically we open file write 20 bytes of data and close file this is
done about every 5msecs until power drops out. What happens is when
power drops out a bunch of zeros get appended to the end of the file.
Also the amount of zeros is dividable by 20, the amount of data we
have been writing. I would expect to lose some data at the end when
power drops but not have zeros added. Any one seen something like this
?
Thanks
Jay
we are writing data to if power drops out. System is one EWF protected
CF and one non EWF protected CF. We are logging data to a file.
Basically we open file write 20 bytes of data and close file this is
done about every 5msecs until power drops out. What happens is when
power drops out a bunch of zeros get appended to the end of the file.
Also the amount of zeros is dividable by 20, the amount of data we
have been writing. I would expect to lose some data at the end when
power drops but not have zeros added. Any one seen something like this
?
Thanks
Jay