public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Kschoo70C@netscape.net
To: linux-mtd@lists.infradead.org
Subject: Question about power fail during file upgrade
Date: Thu, 26 Sep 2002 04:38:47 -0400	[thread overview]
Message-ID: <19E00413.60CCAB38.0265FBE9@netscape.net> (raw)

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/

             reply	other threads:[~2002-09-26  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-26  8:38 Kschoo70C [this message]
2002-09-26  8:45 ` Question about power fail during file upgrade David Woodhouse
2002-09-30  8:02   ` Piotr Trojanek
2002-09-30  8:38     ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19E00413.60CCAB38.0265FBE9@netscape.net \
    --to=kschoo70c@netscape.net \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox