![]() |
Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
I've been having trouble with getting the Rootfs enought space to install packages without problems. What's the best way to open some space in Rootfs?
Also, I've tried ccooke's script, which just made the phone act crazy. I've read that some packages shouldn't be moved to opt with that script, but I'm no sure what is same to move and what not. Is there some better solution than ccooke's script? Thanks, everyone. |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
Quote:
|
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
I know that article and I've tried everything in it, except the "Optify Python" part. Have you tried that? And what else have you tried?
One thing in particular is that that article used to mention the ccooke's script ( http://talk.maemo.org/showthread.php?t=33429 ) and no longer does so. I'd really like to ask questions about that solution, though. Also, how often have you tried the solutions in the wiki article? Can it really clean the rootfs more than one time? I've tried those script solutions currently in there, and they all failed. |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
Bumping this thread.
Give me a hand, TMO. |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
I cannot answer the part about the script as I have never used any. I have done all my rootfs crearing manually and I would wholeheartedly recommend anyone to do the same. The only scripted optification I am aware of that happened to my devices is during the CSSU installation.
Why are you asking, by the way? Are you suffering any specific problems? |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
I tend to use this script for creating space in rootfs. It does not try to optify any packages, but moves the largest folders and their content to /opt, which is part of the sdcard's partition.
Code:
#!/bin/sh I did not create the script, but modified it for easier reading |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
Quote:
Quote:
Is there an option to revert changes, in case something goes wrong? |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
There is no way back, but to remove the symlinks and copy things back to the default place.
The script fetches the folders usr/share/icons, usr/share/nokia-maps, usr/share/fonts, usr/share/locale, usr/lib/locale, var/lib/apt, usr/share/themes, var/lib/dpkg and /var/cache/apt and copies them one by one to the second partition of the internal card (by default 2GB) and creates links to the new place for the system to find them. Basically you move folders from the smaller rootfs to larger optfs. |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
1 Attachment(s)
Quote:
Please be aware that if you screw up moving locales, you may end up with something like this: Attachment 37248 |
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
@ pichlo:
Here is the snippet from a ssh session running that script: Quote:
All is fine with the localisation here. The real sizes of above directories following symlinks: Quote:
|
Re: Freeing space in Rootfs - is ccooke's script a good solution? What packages should I avoid moving to /opt?
Don't get me wrong, I am not saying the script is wrong. Only that I have never run it.
It is more likely to screw up manually than by running a well behaved script. |
All times are GMT. The time now is 11:34. |
vBulletin® Version 3.8.8