![]() |
2010-02-27
, 11:37
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#2
|
![]() |
2010-02-27
, 11:38
|
Posts: 3,664 |
Thanked: 1,530 times |
Joined on Sep 2009
@ Hamilton, New Zealand
|
#3
|
![]() |
2010-02-27
, 11:45
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#4
|
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
![]() |
2010-02-27
, 12:00
|
Posts: 6 |
Thanked: 25 times |
Joined on Jan 2010
@ South Wales
|
#5
|
I know you already said sorry, but was another thread really necessary? If something's not safe it won't be in the wiki
The Following 3 Users Say Thank You to stevet68 For This Useful Post: | ||
![]() |
2010-03-05
, 19:43
|
Posts: 53 |
Thanked: 18 times |
Joined on Sep 2009
@ UK
|
#6
|
![]() |
2010-03-07
, 02:03
|
Posts: 76 |
Thanked: 5 times |
Joined on Feb 2010
|
#7
|
![]() |
2010-03-07
, 07:39
|
Posts: 44 |
Thanked: 2 times |
Joined on Mar 2010
|
#8
|
![]() |
2010-03-07
, 09:03
|
Posts: 6 |
Thanked: 25 times |
Joined on Jan 2010
@ South Wales
|
#9
|
Hey stevet68,
do you know what happen if you run the script just after reflashing your N900. Is it gonna keep the original rootfs memory without get it full?
yanness
![]() |
2010-03-07
, 09:06
|
Posts: 6 |
Thanked: 25 times |
Joined on Jan 2010
@ South Wales
|
#10
|
cant seem to get the script to run, I typed it exactly as u put it in the wiki but doesnt seem to do anything, my rootfs is at 91%. anybody help?
The Following User Says Thank You to stevet68 For This Useful Post: | ||
It's true, 95.1MB free in Rootfs;
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 128.3M 95.1M 57% /
However, I have now installed loads of apps, including many from Development and am now down to 92.8MB!
~ $ df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 130.6M 92.8M 58% /
So how did I get there?
First I was robbed, had my 3 month old N900 stolen! Had to buy a new one urgently, so had a brand new N900 to start with.
Being aware of the Rootfs problems I decided to optimise it before installing any apps.
The brand new N900 had 83.3MB free
~ $ df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 140.0M 83.3M 63% /
After updating to firmware 51 I was down to 72MB with no apps installed.
~ $ df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 151.2M 72.1M 68% /
Next I moved var/cache/apt but forgot to copy the df -h results!
Then I decided to use a script to move some foldes and symlink them. The script i used was created by Tom Tanner (thanks Tom)
and is available with instructions here;
http://wiki.maemo.org/User:Tanner#Safely_free_some_space_on_rootfs
Running the script gave me these results;
/home/user/MyDocs # sh Optify.sh
Optify.sh: line 1: #!/bin/sh: not found
5952 usr/share/icons
8932 usr/share/nokia-maps
14720 usr/share/themes
3968 usr/share/fonts
10548 usr/share/locale
16960 usr/lib/locale
3232 var/lib/apt
0 var/cache/apt
64312 total
moving /usr/share/icons
moving /usr/share/nokia-maps
moving /usr/share/themes
moving /usr/share/fonts
moving /usr/share/locale
moving /usr/lib/locale
moving /var/lib/apt
At this point I had achieved my maximum free Rootfs of 95.1MB;
/home/user/MyDocs # df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 128.3M 95.1M 57% /
Since this I have installed all my preferred apps, including a lot of "Risky Development Apps" and I still have 82.5MB free.
/home/user/MyDocs # df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 140.8M 82.5M 63% /
At this point I had installed Fennec and something was causing a problem with my internet connection so I restarted the phone which freed up some memory again!
I now have almost every useful app installed today and still have 92.8MB free!
~ $ df -h
Filesystem Size Used Available Use% Mounted on
rootfs 227.5M 130.6M 92.8M 58% /
I have been using the phone for 3 days since running Tom's script and it has been 100% stable.
Thought I'd post this to let people know that There is a safe script to take away the problems around Rootfs without risk as far as I can see!
Thanks again Tom, I will still check Rootfs before and after installing apps, but am not worried about it anymore!
Hope this gives some people confidence to safely free Rootfs space.
Also thought it was about time I posted something to the forum having used info from here so heavily since getting my N900.
Cheers
Steve
Last edited by stevet68; 2010-02-27 at 11:34. Reason: corrected a typo!