Editing Free up rootfs space

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 10: Line 10:
If you want to see all filesystems, use only "df -h".
If you want to see all filesystems, use only "df -h".
-
 
-
If you want to print a list of all directories under rootfs and their cumulative sizes, run the following command (sizes in MB, sorted in ascending order):
 
-
 
-
du -mx / | sort -n
 
-
 
-
If you want a comprehensive list of what packages are using what space on rootfs, which will take a little bit of time for your device to prepare, Chris Pitchford has prepared [http://discussions.europe.nokia.com/t5/Maemo-and-MeeGo-Devices/whats-apps-take-a-lots-of-roofts/td-p/715374 a couple of scripts] which will achieve this.
 
== Freeing up space ==
== Freeing up space ==
Line 32: Line 26:
will release probably near 10 MB.
will release probably near 10 MB.
-
''In my case, it freed about 250MB of 'home', as shown by 'storageusage' application.''
 
===Remove unused dependencies===
===Remove unused dependencies===
Line 58: Line 51:
You can't just delete these files, this is just a list with ideas! You have to know what you are going to do with them (optify, backup+remove, etc.).
You can't just delete these files, this is just a list with ideas! You have to know what you are going to do with them (optify, backup+remove, etc.).
-
* <code>/usr/lib/locale/locale-archive</code> (28 MB) : stupid idea : if you do such a thing, you will loose all the constant texts as the names of days ("Monday","Tuesday",...). What kind of advice is this?
+
* <code>/usr/lib/locale/locale-archive</code> (28 MB) : stupid idea : if you do such a thing, you will loose all the constant texts as the names of days ("Monday","Tuesday",...). Who has written a such advice ?
* <code>/usr/share/locale</code> (10 MB, but you have to keep at least the languages you use)
* <code>/usr/share/locale</code> (10 MB, but you have to keep at least the languages you use)
* <code>/usr/share/themes/alpha</code> and <code>/beta</code> (they use 5-6 MB each, keep the one you use - REMOVING THESE WILL GENERALLY MESS UP YOUR UI - do not simply remove them with "rm -f $dir" - use "apt-get remove [hildon-theme-alpha|hildon-theme-beta]" Similarly you can reinstall them the same way. Dependency apps: "bluezwitch cherry feedingit google-search-widget hildon-desktop hildon-desktop-python-loader hildon-theme-alpha")
* <code>/usr/share/themes/alpha</code> and <code>/beta</code> (they use 5-6 MB each, keep the one you use - REMOVING THESE WILL GENERALLY MESS UP YOUR UI - do not simply remove them with "rm -f $dir" - use "apt-get remove [hildon-theme-alpha|hildon-theme-beta]" Similarly you can reinstall them the same way. Dependency apps: "bluezwitch cherry feedingit google-search-widget hildon-desktop hildon-desktop-python-loader hildon-theme-alpha")
Line 171: Line 164:
====Move some of the pre-installed applications into /opt====
====Move some of the pre-installed applications into /opt====
-
Some applications like Nokia Maps and the microb-engine are placed in /usr/share taking up valuable root space, moving these files will not affect the apps.  
+
Some applications like Nokia Maps and the microb-engine are placed in /usr/share taking up valuable root space, moving these files will not affect the apps. Moving Nokia Maps (has to be done as root) will save 8.7 Mb:
-
 
+
-
Moving Nokia Maps (has to be done as root) will save 8.7 Mb:
+
  mv /usr/share/nokia-maps /home/opt/
  mv /usr/share/nokia-maps /home/opt/
Line 185: Line 176:
(With the CSSU - and possibly without on PR1.3 - the tutorial may be uninstalled, getting rid of the tutorial folder entirely)
(With the CSSU - and possibly without on PR1.3 - the tutorial may be uninstalled, getting rid of the tutorial folder entirely)
-
 
-
 
-
To get a bit more rootfs space you can move Flashplayer to opt; will save 3.5Mb:
 
-
mv  /usr/lib/browser/plugins/libflashplayer.so /opt/usr/lib/
 
-
ln -s /opt/usr/lib/libflashplayer.so  /usr/lib/browser/plugins/libflashplayer.so
 
====Move themes====
====Move themes====
Line 212: Line 198:
from [http://www.robinhill.me.uk/maemo/package_sizes.html]
from [http://www.robinhill.me.uk/maemo/package_sizes.html]
-
 
-
Here is another script pkgscan.sh which sort big files on rootfs [http://talk.maemo.org/showpost.php?p=442804&postcount=28]
 
[[Category:Power users]]
[[Category:Power users]]
[[Category:N900]]
[[Category:N900]]
[[Category:Firmware update]]
[[Category:Firmware update]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: