Notices


Reply
Thread Tools
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#21
Originally Posted by kwotski View Post
Just for fun, I've knocked together a quick perl script that can find the non-optified disk usage for a given package:
added a link to your post to this article in the wiki:
http://wiki.maemo.org/Help_testing_s...r_Optification

(last but one paragraph in the section)

Linking seemed appropriate as it preserves context and credits
 

The Following 3 Users Say Thank You to benny1967 For This Useful Post:
Posts: 12 | Thanked: 5 times | Joined on Sep 2009 @ Oulu, Finland
#22
Alternative way to check optification. Doesn't calculate depencies though.
Note that this must be done in /home/user
If you do it in MyDocs (or elsewhere) it gives you wrong calculations due to vfat.

Code:
1.      cp <deb> /home/user/
2.      cd /home/user/
3.      mkdir tmp
4.      dpkg -x ./<deb> tmp
5.      cd tmp 
6.      du -sh usr 
7.      du -sh opt
 
Posts: 278 | Thanked: 209 times | Joined on Dec 2009
#23
Originally Posted by bunanson View Post
Can I take it as the above ALL installed and run? If not, mind to share the details? TIA,

bun
Yes. all the mentioned apps are currently installed on my n900.
Note that if an app on the list has recently moved to extras. i would have uninstalled and put in the extras version.

meaning that 80% of the apps are from extras. yet my root was exhasuted.........
 

The Following User Says Thank You to Corso85 For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#24
MPlayer is optified now, so it shouldn't take much space in root.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following 2 Users Say Thank You to Bundyo For This Useful Post:
Posts: 278 | Thanked: 209 times | Joined on Dec 2009
#25
I took off mplayer, kmplayer, all the built-in installers (AB, Amazon....), Un-Quan something game, leafpad, lighttpd and the countdown widget,

now i have 28mb left in rootfs. not bad for now.
 
Posts: 110 | Thanked: 32 times | Joined on Dec 2009 @ Moon
#26
maybe we should make a thread with application list and size taken on rootfs and have it sticked with first post being updated by thread starter (whoever got time to take care of such task)
then people could post replys with
Software name:
Version:
Space Used on rootfs:


i myself didn't know much about this issue till i looked at few threads over last couple of days so i got nothing to report but from now before i isntall anything i will check rootfs usage before installation and after installation do the maths and make a note.
 

The Following User Says Thank You to Croc For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#27
That would be a bit painful to maintain... but definitely could be useful.
 
Posts: 47 | Thanked: 21 times | Joined on Oct 2009
#28
Code:
 /usr/local/bin/find_non_opt_files.pl /var/lib/dpkg/info/*.md5sums
I'm trying to run this script. But I keep getting "-sh: /usr/local/bin/find_non_opt_files.pl: Permission denied"?

Any ideas? Am a *nix noob.
 
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#29
Do

chmod +x /usr/local/bin/find_non_opt_files.pl

Sorry, should have mentioned that.

Don't run the script as root, just to be on the safe side
 

The Following User Says Thank You to kwotski For This Useful Post:
Posts: 47 | Thanked: 21 times | Joined on Oct 2009
#30
Originally Posted by kwotski View Post
Do

chmod +x /usr/local/bin/find_non_opt_files.pl

Sorry, should have mentioned that.

Don't run the script as root, just to be on the safe side
Thanks! Works great now.
 

The Following User Says Thank You to vdx29 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:50.