maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   How to use internal mmc? (https://talk.maemo.org/showthread.php?t=45784)

drautzburg 2010-02-25 07:37

How to use internal mmc on n810?
 
Hello all,

I own my n810 since a few weeks only and the root fs is already full:

/dev/mtdblock4 4 3 1 65% /mnt/initfs
none 1 0 0 26% /mnt/initfs/tmp
/dev/mtdblock4 250 243 6 98% /
none 1 0 0 26% /tmp
none 1 0 1 6% /dev
tmpfs 1 0 1 0% /dev/shm
/dev/mmcblk0p1 1916 471 1445 25% /media/mmc2
/dev/mmcblk1p1 7592 996 6596 13% /media/mmc1


I browsed the forums how to use the internal mmc to add disc space, but it all sounded pretty scary. I was thinking I would simply use the mmc for e.g. the /usr directory, but most posts were about booting from mmc.
  • Doesn't everybody have this problem?
  • How can I use the internal mmc for /usr? Or is this a bad idea?
  • Can I rely on the internal car always being /dev/mmcblk0p1
  • Why is mmcblk0p1 mounted to /media/mmc2 and not mmc1
  • Is it a good idea to format the mmc as jffs?
  • What is the purpose of the internal mmc if it gets mounted under /media?

shadowjk 2010-02-25 15:40

Re: How to use internal mmc on n810?
 
Quote:

Originally Posted by drautzburg (Post 545431)
Hello all,[*]Doesn't everybody have this problem?

I don't.

Quote:

[*]How can I use the internal mmc for /usr? Or is this a bad idea?[*] Can I rely on the internal car always being /dev/mmcblk0p1[*] Why is mmcblk0p1 mounted to /media/mmc2 and not mmc1
IIRC there are some oddities regarding device naming on N810... I think if you boot with only one card things move around..

Quote:

[*] Is it a good idea to format the mmc as jffs?
Well, good luck, it's not exactly a trivial thing to do. You probably need to compile some kernel modules that emulate mtd ontop of a block device.. ext3 is probably slightly saner, but then the automount probably doesn't work anymore..

If I had space issues on /, I would probably follow the clone to sd route, for the sole reason that it's tested and documented..

Quote:

[*]What is the purpose of the internal mmc if it gets mounted under /media?
Songs, Videos, Map data for Wayfinder Maps... Some games can install their data there, claws-mail (and maybe modest) can use it for storage..

I moved the included Videos, Songs and the Manuals there on the second day of owning my N810, freeing up a nice chunk on /..


All times are GMT. The time now is 04:16.

vBulletin® Version 3.8.8