From: Kylo Ginsberg <kylo.ginsberg@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: jffs2 root fs: how to overwrite it?
Date: Wed, 22 Jun 2005 13:39:09 -0700 [thread overview]
Message-ID: <61cc712d05062213393c397c6d@mail.gmail.com> (raw)
I have a jffs2 root file system. As part of the user upgrade process,
running from linux, I need to blow the root fs away and replace it
with a new version. One solution is to reserve a second piece of
flash for this purpose, copy it there on user request and instruct
u-boot to handle the copy, but I'd like not to waste the flash space.
Ideally, I'd have an inittab shutdown script umount root (if this is
possible) and copy an image from mem -> flash before rebooting. Or
something of that sort.
How else do people accomplish this? Thanks for your comments.
Kylo
next reply other threads:[~2005-06-22 20:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-22 20:39 Kylo Ginsberg [this message]
2005-06-23 1:07 ` jffs2 root fs: how to overwrite it? Kylo Ginsberg
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=61cc712d05062213393c397c6d@mail.gmail.com \
--to=kylo.ginsberg@gmail.com \
--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