[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CRC error after power off

On Mon, Jun 17, 2002 at 17:09:41 +0100, David Woodhouse wrote:
> tino.keitel@xxxxxxx.com said:
> >  Did you mean that it is sure that it has written all data, then
> > want's  to write the new CRC and in this moment the machine was
> > powered off?
> No, it'll write the CRC first, but won't have finished writing the data; 
> hence the CRC fails. 
> > If you're paranoid, you could check which inode that particular data
> > node belongs to, and verify the contents.
> >    Hum, how to to that? Add some debug code that prints the filename
> > that  belongs to the inode?
> You need to print the inode number and then either ls -laiR and grep or 
> enable sufficient debugging that you find the file which points to the 
> inode, yes. You can't go from inode numbers to file names directly.

I'm not interested in the contents of this particular file. I thought
there will be no such things like CRC errors under normal
circumstances, including random power cycles.


dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   networking people
tel: +49.30.6392-3308                      http://www.innominate.com/

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com