From: Steven Scholz <steven.scholz@imc-berlin.de>
To: linux-mtd@lists.infradead.org
Subject: Do I have to umount JFFS2?
Date: Thu, 15 Dec 2005 11:12:31 +0100 [thread overview]
Message-ID: <43A1418F.3060701@imc-berlin.de> (raw)
Hi all,
we're using JFFS2 as rootfs for embedded devices.
>From time to time we have to reboot shortly after writing to this fs,
e.g. a firware update is basically copying the new fw to the jffs2
partition and call "reboot".
Now I wonder if it is needed to umount this partition explicitly before
rebooting? Or mount it read only first by having
::shutdown:/bin/umount -a -r
in /etc/inittab. Or call "sync"?
Or is the unmounting done by the kernel before actually rebooting?
So the system only reboots when all writing to flash is finished?
(I've lately seen corrupt root fs and want to find out if these reboots
could cause the trouble...)
Thanks a million!
--
Steven
next reply other threads:[~2005-12-15 10:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-15 10:12 Steven Scholz [this message]
2005-12-15 10:26 ` Do I have to umount JFFS2? Jarkko Lavinen
2005-12-15 12:25 ` Steven Scholz
2005-12-15 12:51 ` Peter Menzebach
2005-12-16 2:16 ` alfred hitch
2005-12-16 9:10 ` Peter Menzebach
2005-12-16 16:36 ` alfred hitch
2005-12-16 16:54 ` Peter Menzebach
2005-12-18 15:08 ` Steven Scholz
2005-12-19 7:52 ` Peter Menzebach
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=43A1418F.3060701@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--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