Nguyen wrote:
> Hi,
> I am experimenting with Asterisk on Soekris 4801 with CF card. In
> AstLinux, we have readonly root filesystem, as most of embedded
> devices.
>
> But I really need the reliable storage (for voicemail, database for
> examples). I am using SQLite as database and JFFS2 as filesystem.
> Kernel is 2.6.14, cause the JFFS2 and MTD part of 2.4 is not
> work/maintained anymore.
>
> Has anyone do the samething with Soekris box, and is it a good idea to
> move part of filesystems (/mnt/kd for example) to JFFS2 for r/w
> operations?
>
>
> --
> With best regards,
> Nguyen
Nguyen,
JFFS2 on CF has never made any sense to me. Here's why:
JFFS with CF:
JFFS filesystem -> JFFS -> IDE Emulation -> IDE -> CF -> Flash
Ext2 with CF:
ext2 -> IDE -> CF -> Flash
On something like the Linksys WRT or Gumstix (and most other flash based
systems with Linux). This is where this can be done properly:
JFFS with flash:
JFFS filesytem -> JFFS -> memory
JFFS2 was designed to work directly with the flash memory. That's why
it has built in wear-leveling. CF works by hiding the flash memory and
presenting itself as a generic IDE device (while doing wear leveling in
firmware).
Also, JFFS2 ide emulation is very, very slow.
What about mounting an ext2 filesystem with the "sync" option?
--
Kristian Kielhofner
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]