public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Question about power fail during file upgrade
@ 2002-09-26  8:38 Kschoo70C
  2002-09-26  8:45 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Kschoo70C @ 2002-09-26  8:38 UTC (permalink / raw)
  To: linux-mtd

Hi,
    I need some help to understand how the JFFS2 works. If I have a version 1 of software component A on JFFS2, what happen if power failed while I am in the middle of upgrading the component A to version 2 ? The question is do I have version 1 intact or a combination of version 1 and 2 ?

Does the JFFS2 filesystem only set the inodes of a file to be valid only after a complete file is written to the flash ?
Does the old file will only be deleted only after the new file is verified to be valid ?

Thanks in advanced.

regards
choo
    

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-30  8:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26  8:38 Question about power fail during file upgrade Kschoo70C
2002-09-26  8:45 ` David Woodhouse
2002-09-30  8:02   ` Piotr Trojanek
2002-09-30  8:38     ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox