sorry for creating another Rootfs free space thread, but thought this would be helpfull for a lot of people and easier to find if at the start of a new thread!
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!
/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.
This script shows you much space will be freed and automatically detects whether some directories have already been moved."
Maxximus, thanks for the opinion, but I am confident in what I have done and understand how symlinks work. I suspect I may have to run the script again after a firmware upgrade but I am happy with that.
If I had to flash the firmware, I can also cope with that!
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
Hi Yanness,
All this doe is free up space by moving files out of RootFS and setting up links to the folders. It is still technically possible to fill it again if you install lots of unoptified software, However I have now been running another week and still have 88MB free in RootFS even after installing lots of apps.