maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Help You. Identify the non-optified apps. (https://talk.maemo.org/showthread.php?t=37629)

benny1967 2009-12-18 14:09

Re: Help You. Identify the non-optified apps.
 
Quote:

Originally Posted by kwotski (Post 433336)
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 ;)

rusti 2009-12-18 14:30

Re: Help You. Identify the non-optified apps.
 
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


Corso85 2009-12-18 17:26

Re: Help You. Identify the non-optified apps. (N900)
 
Quote:

Originally Posted by bunanson (Post 433318)
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.........

Bundyo 2009-12-19 08:50

Re: Help You. Identify the non-optified apps.
 
MPlayer is optified now, so it shouldn't take much space in root.

Corso85 2009-12-19 17:37

Re: Help You. Identify the non-optified apps.
 
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.

Croc 2009-12-19 18:37

Re: Help You. Identify the non-optified apps.
 
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.

fatalsaint 2009-12-19 20:55

Re: Help You. Identify the non-optified apps.
 
That would be a bit painful to maintain... but definitely could be useful.

vdx29 2009-12-19 22:45

Re: Help You. Identify the non-optified apps.
 
Quote:

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.

kwotski 2009-12-19 22:53

Re: Help You. Identify the non-optified apps.
 
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 :)

vdx29 2009-12-19 22:57

Re: Help You. Identify the non-optified apps.
 
Quote:

Originally Posted by kwotski (Post 434879)
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.


All times are GMT. The time now is 12:42.

vBulletin® Version 3.8.8