![]() |
Help You. Identify the non-optified apps. (N900)
Dear All,
I'm currently at 97% of my root partition with 8mb left free. On My N900. Here is the list of apps I have installed at the moment: Note: Using the Perl Script, I've Added the non-opt space usage Red is unusually high mauku - 300K countdown-home - wormux - 16K (that was a surprise) vpnc-gui - 76K scummvm - 7.58MB (!!) load-applet - 48K ioquake3 - 2.7MB sopwith - 8K ukeyboard - 140K pidgin - 2.91MB (hmm) panucci - 12K bounce - 20K (nice) pygtkeditor - 76K drnoksnes - 24K vor - 12K gonvert - 244K vpnc - 4K systeminfowidget - 16K liqtorch - 44K omweather - 24k rdesktop - 188K dosbox - 2.22MB (hmm) wifiinfo - 584K dtg - 200k mbarcode - 128K crimson - 16k transmission - 20K braek - 44K zoutube - 8K simple-fmtx-widget - 8K stopwatch-home - 52K gpodder - 16K personal-gprs-mon - 44K vncviewer - 124K stockthis - 28K maelstrom - 16K personal-ip-address - 32K mg - 304K mirror - 76K simple-brightness-applet - 16K ati85 - 216K tennix - 8K xchat - 664K unzip - 328K enigma - 3.57MB fmradio - 12K madbomber - 8K petrovich - 24K recorder - 160K mastory - 28K liqflow - 56K copernicium - 24K Questions: 1. Which do you think are the major space eaters? 2. I'm eagerly awaiting the Apps in the Ovi Store, will I still be able to install them with my current free space condition? Thank You. I apologize if this thread caused any redundancy. |
Re: Help You. Identify the non-optified apps.
Here's a debian command to sort all your applications by size...
Code:
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k2 -n This won't show you which ones are optified or not, but on the big ones you can check where they install to with dpkg -L <package name>. If my understanding of the n900 is right, if it installs anywhere but the /opt directory then there's something wrong. |
Re: Help You. Identify the non-optified apps.
ScummVM took quite a bit of space from root in my device, if I remember correctly.
|
Re: Help You. Identify the non-optified apps.
U can also try DiskUsage, it'll show you your root space as a pie and each folder in a graphic part of the pie
|
Re: Help You. Identify the non-optified apps.
Quote:
|
Re: Help You. Identify the non-optified apps.
This is quite an issue....
Most of what I've installed from extras also has taken up a decent amount of space in the root partition. I'm only at 76%, but I may not have installed much... I have the following installed: not quite sure if ALL of these are from extras, but most of them should be. TI85 petrovic Mirror Bounce Omweather maemorecorder VNC viewer Conboy ForecaWeather zoutube Xournal office doc viewer suite Hermes I know these are from testing/devel Dialcentral Xchat either way everytime I've installed something I've checked before and after installation, and rootfs definitely gets filled a bit each time... |
Re: Help You. Identify the non-optified apps.
MPlayer takes between 10 and 20 MB Rootfs space...
|
Re: Help You. Identify the non-optified apps.
Quote:
|
Re: Help You. Identify the non-optified apps.
Maybe someone could explain it to me. why is it that the root was limited to 200ish, mb? was it a choice?
I mean the whole optification issue would have not been much of an issue if root was given a couple of gbs. There is like 32 on there :p Just a matter of pushing neatness in packaging? I'm not upset in anyway. It's fine. I just wanna enlighten myself :) |
Re: Help You. Identify the non-optified apps.
root is on a special onboard memory chip with a size of 256 MB.
optification would not even be needed if we as devs had followed the standards, which basically say: "This directory is reserved for all the software and add-on packages that are not part of the default installation" and "Under no circumstances are other package files to exist outside the /opt, /var/opt, and /etc/opt hierarchies except for those package files that must reside in specific locations within the filesystem tree in order to function properly" There is also a Wiki entry. But a bit too complicated. |
Re: Help You. Identify the non-optified apps.
Root is on a separate 256M high-speed flash chip. I've heard that this was the largest available (integrated with the processor) at the time.
|
Re: Help You. Identify the non-optified apps.
Ah. that makes sense. it's like flash0 and flash1 on the PSP.
I see. This chip also gets flashed when one uses the Flashing Tool for the n900? |
Re: Help You. Identify the non-optified apps.
If you just flash the main firmware, this is the only chip that gets flashed. The eMMC firmware will flash the 32GB built-in storage (but should rarely be needed).
|
Re: Help You. Identify the non-optified apps.
Hmm. can the rootfs somehow be mounted when pluggin the n900 to a pc? from what I saw. It seems only MyDocs appears in mass storage mode.....
It'll make going through the files on it easier. instead of the terminal. |
Re: Help You. Identify the non-optified apps.
Nope - mass storage mode requires unmounting the filesystem (as it's exported at a low level). This obviously can't be done with the rootfs.
|
Re: Help You. Identify the non-optified apps.
Quote:
|
Re: Help You. Identify the non-optified apps.
another noob question in regards to this, after deleting apps, the rootfs space does not seem to be recovered, even after a reboot. i had installed mplayer (19.4M). rootfs usage was 189M used , according to diskusage
then i used this cmd dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k2 -n and it was shown at the bottom of the list (sorted by size) i uninstalled it, rebooted and diskusage still showed 189M used. running the above commandline once again showed it was still there. dpkg -L mplayer returned that package mplayer does not contain any files?! so, my question; how do you purge installed files sitting on rootfs? |
Re: Help You. Identify the non-optified apps.
Quote:
dpkg -l mplayer ls -l /usr/bin/mplayer |
Re: Help You. Identify the non-optified apps. (N900)
Quote:
bun |
Re: Help You. Identify the non-optified apps.
Just for fun, I've knocked together a quick perl script that can find the non-optified disk usage for a given package:
Code:
#!/usr/bin/perl Quote:
Code:
/usr/local/bin/find_non_opt_files.pl /var/lib/dpkg/info/*.md5sums Edit: Just to add, this hasn't been security audited, so if you should have a line like "1234 asdf;rm -rf /" in one of your *.md5sums, or other similar problems, you're on your own! Further Edit: Script amended to take account of symlinked directories as per posts around http://talk.maemo.org/showthread.php...655#post438655 One more edit: don't count files in /home as non-optified |
Re: Help You. Identify the non-optified apps.
Quote:
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 ;) |
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/ |
Re: Help You. Identify the non-optified apps. (N900)
Quote:
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......... |
Re: Help You. Identify the non-optified apps.
MPlayer is optified now, so it shouldn't take much space in root.
|
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. |
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. |
Re: Help You. Identify the non-optified apps.
That would be a bit painful to maintain... but definitely could be useful.
|
Re: Help You. Identify the non-optified apps.
Quote:
Any ideas? Am a *nix noob. |
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 :) |
Re: Help You. Identify the non-optified apps.
Quote:
|
Re: Help You. Identify the non-optified apps.
Quote:
|
Re: Help You. Identify the non-optified apps.
Yikes!
From kwotski's script, my apps have 323MB non opt usage. Conky shows I'm using 210MB of my rootfs. Does this mean the remaining 113MB of files are outside rootfs? If so, where? And more importantly, does it matter? Sorry if these sound like a dumb questions. As you can tell my rootfs is almost full and I'm thinking of formatting/flashing/restoring the N900 to default settings. So I'm trying to figure out were I went wrong and what to avoid next time. |
Re: Help You. Identify the non-optified apps.
Yeah, there's something kind of puzzling about the root fs. It's supposed to be < 256M, right? And yet:
Quote:
|
Re: Help You. Identify the non-optified apps.
Quote:
|
Re: Help You. Identify the non-optified apps.
Ok. I'm going to run the Perl Script on most of my suspicious programs..........
I'll add the results to the first post. so far, not one used more than 8mb. where did my space go? :rolleyes: Maybe if i sum them up..... |
Re: Help You. Identify the non-optified apps.
Quote:
~ $ dpkg -l mplayer Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ rc mplayer 1.0svn4 The Ultimate Movie Player port for N900 ~ $ ls -l /usr/bin/mplayer ls: /usr/bin/mplayer: No such file or directory ~ $ |
Re: Help You. Identify the non-optified apps.
this is also what exactly happened when i uninstall fbreader :(
|
Re: Help You. Identify the non-optified apps.
Quote:
|
Re: Help You. Identify the non-optified apps.
i just reinstalled the mplayer, and then uninstalled it again from application manager, but result is still the same. any suggestion that i can uninstall it properly? thank you very much because my fbreader also get same problem :(
|
Re: Help You. Identify the non-optified apps.
or any way i can delete those files manually?
|
All times are GMT. The time now is 12:45. |
vBulletin® Version 3.8.8