maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   95.1MB free space in RootFs (https://talk.maemo.org/showthread.php?t=46027)

Rob1n 2010-03-10 20:39

Re: 95.1MB free space in RootFs
 
Quote:

Originally Posted by HRZ (Post 562771)
Ok, believe it or not this actually made things worse. see attached images.
i ran what you said and im not sure if the first command even went through since x-term didn't give me anything (see image).

So i WinSCP'd and created the directory /home/opt/usr/share/themes and rebooted. but before i even got to reboot, when i was creating the 2nd screenshot here, look at what happened. now i cant even go into "themes" at all (not in settings nor by tapping and clicking the gears icon) and a lot of buttons/images are missing or out of shape, etc.

any clue? i'd prefer not to reflash, maybe it just needs proper deleting of the symlink and somehow getting it to see the stock "themes" folder...

Try:
Code:

sudo gainroot
mkdir /usr/share/themes
cp -r /home/opt/usr/share/themes/* /usr/share/themes


HRZ 2010-03-11 14:15

Re: 95.1MB free space in RootFs
 
Quote:

Originally Posted by Rob1n (Post 562964)
Try:
Code:

sudo gainroot
mkdir /usr/share/themes
cp -r /home/opt/usr/share/themes/* /usr/share/themes


this didn't work either, the mdir command didnt work since that folder was already there somehow and I forgot what the second command evoked. no worries though, i just reflashed and spent 3 hours reinstalling everything. i need to stop messing around with things in devel.

ndi 2010-03-11 18:33

Re: 95.1MB free space in RootFs
 
I don't understand why someone would move -say- theme elements to MMC when they get used so much?

This is the equivalent to swapping to disk to free up memory when there's free memory to begin with. Doing something when below 10M I can understand, but once you are above some 20 or so you are only degrading performance - basically running a system that has half the space you do.

Memory management is like blackjack. Go as close to max, but don't tip over. A system with 2 GB of RAM that has 50% free has the performance of a system with 1GB. Newer OSs don't have "free" RAM - that's why the more the better. All "free" RAM is in use by OS for read-ahead buffering, executable cache, shadowing, etc. So an OS with 4G outbenches a system with 1G, even of the 4G has 3G "free".

By freeing the space, you are denying the OS the caching it needs, so all data needs to be grabbed from slow storage.

Moving off 50% of files to MMC means that half the stuff you do works 10* times slower.

Why?

*) Based on wiki guesstimates of 150M/s for on-chip and 15M for a good eMMC.

HRZ 2010-03-12 03:35

Re: 95.1MB free space in RootFs
 
Quote:

Originally Posted by ndi (Post 564124)
I don't understand why someone would move -say- theme elements to MMC when they get used so much?


Moving off 50% of files to MMC means that half the stuff you do works 10* times slower.

Why?

*) Based on wiki guesstimates of 150M/s for on-chip and 15M for a good eMMC.


thanks for the explanation. i, for one, will not be running this script again. ive got all my essential apps and im back at 39mb after a fresh flash.

geneven 2010-03-12 04:18

Re: 95.1MB free space in RootFs
 
It is fascinating that someone actually denies there is a rootfs problem now.

Does that mean I can install as many programs as I want to now, without regard to memory problems, which I could do with my N810 and N800? Of course, I was booting from a card.

I don't run any games except for the default ones. I have 31.8 M rootfs space free. Can I install 30 or so games now, as I could with the earlier tablets?

F2thaK 2010-03-12 05:42

Re: 95.1MB free space in RootFs
 
so youve got an N900 with 31.8 MB free root FS?

juju78 2010-03-12 08:37

Re: 95.1MB free space in RootFs
 
when im runing the scipt in terminal itīs asking a password !? does anybody know whatīs the password so that i can run the script ??

noobmonkey 2010-03-12 08:42

Re: 95.1MB free space in RootFs
 
Quote:

Originally Posted by juju78 (Post 564769)
when im runing the scipt in terminal itīs asking a password !? does anybody know whatīs the password so that i can run the script ??

you need to run it as root

juju78 2010-03-12 08:51

Re: 95.1MB free space in RootFs
 
so... im not sure did i get it.. could you tell me how i do that step by step... cause all this linux world is very new to me,., it all came to me with my n900.. put some nice programs and runout memory and its slowing down.. so where i go and do what,,,
so far i did..
1) downloaded the script
2) went to terminal
3) sudo sh /home/MyDocs/moveroot.sh

and then it gave me password:

F2thaK 2010-03-12 09:04

Re: 95.1MB free space in RootFs
 
1 Attachment(s)
USE SCRIPT ATTACHED
(does not move themes)

make sure you put it in root directory if using USB > mass storage
NOT documents folder

/home/user/MyDocs

unplug phone

then in xterminal:

root
cd /home/user/MyDocs/
sh moveroot.sh


All times are GMT. The time now is 18:53.

vBulletin® Version 3.8.8