So I'm wondering how to get the next SD card to last longer.  Should I
just get rid of the journaling and switch to ext2?

additional wear because of journal is not significant.

 Should I stick to
something specialised such as jffs2?

jffs2 is a flash fs, not suited for e g sd cards.

 How about BtrFS, is it usable yet? LogFS?

btrfs does not seem to be usable for general purpose yet and logfs is aimed at flash like jffs2.

I'm also wondering whether it's really a good idea to put swap
on a flash device, whatever the filesystem.

if swap, then on sd card -- the flash is subject limited writeoperations as well, but since built-in you can't change it like an sd card.
so, if generally wear is an issue for you, it applies to flash as well.

Any comments would be welcome :-)

i installed debian into both flash and sd card partition.
one partition on sd card serves as swap.
i had issues with sd card months ago including i/o errors and data loss (most notably /var/lib/dpkg/status), but after some reorganization and updates it went away and never came back.

every newer sd card should have an iternal wear levelling and error correction that should survive several years, so your issues are most likely not caused by the sd card itself, but rather by the kernel resp the glamo. with certain sd card sizes a kernel parameter was required either at boot or via sysfs, but i am not quite sure inhowfar that still applies.

- are you using u-boot or qi?
- what kernel are you using?
- error messages?
- log files?

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to