Choice of filesystem for Freerunner/Debian

Roland Mas lolando at debian.org
Mon May 25 14:24:07 CEST 2009


arne anka, 2009-05-18 10:56:38 +0200 :

>>> jffs2 is a flash fs, not suited for e g sd cards.
>>
>>   I thought SD cards were using flash memory internally.  Wikipedia
>> mentions "NAND flash", is it something different?
>
> what wikipedia entry?

http://en.wikipedia.org/wiki/Comparison_of_memory_cards#Technical_details

> whatever an sd card uses internally is usally no concern to the user
> since it exposes a "normal" (as opposed to flash) data medium.
> all those specific operation like wear leveling and error correction
> are done internally.

  Oh.  I hadn't thought of that.  Sorry.

> - mounted /tmp/ and /var/[log, spool, ...] to tmpfs
> - moved /var/lib/dpkg to flash (link)
> - moved /bin, /sbin, /usr/sbin, /lib and some of /usr/bin to flash
> - flashed kernel, i don't boot from sd card

  Okay, I'll probably get inspiration from that and my read-only-root
Soekris.  Thanks for the tips.

  As for my problem, I ran a shell loop to "aptitude reinstall $i" on
all installed packages.  It seems to have fixed the problem (or moved it
to an unused part of the card), and I've been able to use the phone as
usual again (not so much as a phone, but as a GPS device to record
traces and enhance Openstreetmap).

Roland.
-- 
Roland Mas

M-x execute-extended-command



More information about the Smartphones-userland mailing list