[yocto] Which filesystem for target?

Chris Tapp opensource at keylevel.com
Fri Oct 28 15:11:22 PDT 2011


A bit of an open-ended question, but...

Which is the 'best' filesystem to use for an embedded device that's  
using a CF card?

It needs to survive loss-of-power, have a RO root filesystem, allow  
user configuration data to persist and (ideally) only use 'Busybox'  
commands.

This seems to imply the use of a partition for booting (mount RO) and  
a second partition or a loop-device on the boot partition for  
persistent storage.

I would normally go for ext3, but Busybox doesn't support it (afaik).  
The Busybox tune2fs also only supports -L, so I can't stop 'disk needs  
checking after <n> mounts' messages.

Is btrfs a suitable alternative?

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list