Re: JFFS2 root file system from CF



In article <1141682202.16414.0@xxxxxxxxxxxxxxxxx>,
"Geronimo W. Christ Esq" <thegreatsuprendo@xxxxxxxxxxx> writes:
Sebastian wrote:

However my requirement is to use JFFS2 as the root file system in CF.

Why ? It's a very bad idea. Use EXT3 instead.

Or better, use EXT2 or some other non-journaling filesystem.

I wouldn't recommend a non-journalling filesystem on an embedded device.
People tend to switch embedded devices on and off since they regard them
as appliances, rather than small computers. It helps not to have to wait
long periods for the FS to be scanned following a reboot.

The only safe way to operate a CF when a sudden power loss can
happen is to use it read-only. No matter what filesystem you use,
if power goes off while a write access to the CF is in progress,
it can suffer severe damage.


CF devices do wear levelling and can tolerate very high levels of
rewrite activity.

That may be true but still the number of writes is limited, so it might
make sense to avoid unneccesary writes, especially if the number of
writes before wear-out is not known.

To be honest, I have never seen any reports of actually worn-out CF
devices. It would really be nice if people who have experienced this
could share their story.


Rob

--
Robert Kaiser email: rkaiser AT sysgo DOT com
SYSGO AG http://www.elinos.com
Klein-Winternheim / Germany http://www.sysgo.com

.