View Single Post
sebastian.linux's Avatar
Posts: 91 | Thanked: 2 times | Joined on Jan 2007 @ Spain
#21
Originally Posted by penguinbait View Post
I do not believe booting from mmc will provide you more useable memory. You can create swap partitions or swap files that will give you additional memory resources.
Sorry, it was my fault. It doesn't provide you with extra "RAM". I mean, if you type free, you get:

$ free
total used free shared buffer
Mem: 62224 53316 8908 0 248
Swap: 0 0 0
Total: 62224 53316 8908

But YES, you've get extra "installable" memory. That is: the system thinks your mmc available free space is internal memory free space. So that you may install lots of applications there. So you type df (in my 770), and get:

$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 729672 231216 461392 33% /
/dev/mmcblk0p1 261868 12 261856 0% /media/mmc1

As you may see, I've got two partitions. My first vfat partition (mmcblk0p1) is mounted as /media/mmc1. It's almost empty. I haven't enabled the Swap file over vfat, since I find it rather slow (just my feeling, maybe wrong).

My second partition is ext2 (mmcblk0p2), and it's mounted as /
As you may see, I've yet installed 225MB of applications but got space for 450MB more (more or less 140MB was the original system and basic applications; it doubles the 70 MB you usually find at your original native partition because ext2 isn't compressed as jffs2 is)