Power loss and non EWF NTFS CF

  • Thread starter Thread starter Jay
  • Start date Start date
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
 
Yes Registry based EWF and Pretec 512 Meg CF as an IDE drive. We may also
have a second manufacturer I will have to check tomorrow. Our first thought
was it was a function of the CF hardware. Our software can strip off the
extra data at the end of the file if need be. We are just want to
understand what is going on to make sure our solution is correvt.
 
The CF we were using when we noticed this problem was a Silicon
Systems, SSD-C51M-3012.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top