public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Do I have to umount JFFS2?
@ 2005-12-15 10:12 Steven Scholz
  2005-12-15 10:26 ` Jarkko Lavinen
  0 siblings, 1 reply; 10+ messages in thread
From: Steven Scholz @ 2005-12-15 10:12 UTC (permalink / raw)
  To: linux-mtd

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

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

end of thread, other threads:[~2005-12-19  7:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-15 10:12 Do I have to umount JFFS2? Steven Scholz
2005-12-15 10:26 ` 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

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