maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   rootfs full (https://talk.maemo.org/showthread.php?t=44002)

sygys 2010-02-10 11:26

rootfs full
 
I know there are several posts about this. but i have a different question.

My Rootfs is 97% full. when trying to update the repositories i get the message that the extra devel cant be refreshed because the lack of memory on root.

Is there a way to see wich apps are installed on the root. i tried it in easy debian with root on the pcmanfm but i cant find the apps in the root directory.

I dont want te reflash. i want to see wich apps are swallowing up the space and just delete those.

anyone know how?

ossipena 2010-02-10 11:27

Re: rootfs full
 
http://wiki.maemo.org/Free_up_rootfs_space

and especially
http://wiki.maemo.org/Free_up_rootfs...side_of_rootfs

what about consulting wiki before posting new thread with topic that has been discussed numerous times?

Rob1n 2010-02-10 11:29

Re: rootfs full
 
Quote:

Originally Posted by sygys (Post 519201)
i want to see wich apps are swallowing up the space and just delete those.

anyone know how?

You can use StorageUsage to check on rootfs usage by apps (though it's a little out of date and doesn't take into account the recent python optification), or you can use some command-line scripts - I've posted the ones I use here, but there's a few different ones posted around.

b666m 2010-02-10 11:48

Re: rootfs full
 
if you have multiple repos up - for example extras, testing and devel - you could always disable two of these and only refresh one.
so: disable testing and devel -> update extras... then disable extras and devel -> update devel... and so on...
maybe only disabling testing or devel (one of these) would help because they are very large...

sygys 2010-02-10 12:27

Re: rootfs full
 
just optified python and disabled extra devel and extras testing. its not helping. still low on memory. Isn't there a more easy way to see wich apps are installed on root. or to see the map structure of root somewhere?

with that explaination i need to manually open an app and then hit the code to see if its optified. i have like 75 apps on this thing!

Why wasn't this build in the hildon application manager? Why cant you just hit a button wich shows you the path where it is installed?

Cant someone make a plugin to do this. And why not make something in the repositories wich will warn that is or isn't optified. in the info tab before installing.

Now i need to reflash my device and install all apps manually.

I also asked myself, every app even optified ones use an amount of space on the root. so in theory the memory will be full no matter how hard you try to optify. why is this system so criple?

noobmonkey 2010-02-10 12:34

Re: rootfs full
 
Quote:

Originally Posted by sygys (Post 519271)
just optified python and disabled extra devel and extras testing. its not helping. still low on memory. Isn't there a more easy way to see wich apps are installed on root. or to see the map structure of root somewhere?

with that explaination i need to manually open an app and then hit the code to see if its optified. i have like 75 apps on this thing!

Why wasn't this build in the hildon application manager? Why cant you just hit a button wich shows you the path where it is installed?

Cant someone make a plugin to do this. And why not make something in the repositories wich will warn that is or isn't optified. in the info tab before installing.

Now i need to reflash my device and install all apps manually.

I also asked myself, every app even optified ones use an amount of space on the root. so in theory the memory will be full no matter how hard you try to optify. why is this system so criple?

Don't forget the obvious reboot :) - the space never seems to show up until then :D

noobmonkey 2010-02-10 12:35

Re: rootfs full
 
Quote:

Originally Posted by sygys (Post 519271)
Cant someone make a plugin to do this. And why not make something in the repositories wich will warn that is or isn't optified. in the info tab before installing.

Won't help you now, but 'Storageusage' works fine for me and shows me what are the heavyweights in my rootfs area.

ossipena 2010-02-10 12:47

Re: rootfs full
 
Quote:

Originally Posted by sygys (Post 519271)
Why wasn't this build in the hildon application manager? Why cant you just hit a button wich shows you the path where it is installed?

because that is not needed with fully optimized apps. normal users shouldn't even use extras-testing and extras-devel if they don't know how to play around with these things. just look at output of df |grep rootfs, remove package, look at output. if the difference is big, leave app uninstalled. if it is small, reinstall app.

have you already moved app managers cache?
http://wiki.maemo.org/Free_up_rootfs...side_of_rootfs

shanti 2010-02-10 12:55

Re: rootfs full
 
ossipena, its hardly useless. Programmers will NOT be optifying their software Im sure because Im am programmer myself, we are lazy :D.
Our only chance if somebody smart create script like consoletools on N8x0 for dualbooting from SD card.

ossipena 2010-02-10 12:59

Re: rootfs full
 
Quote:

Originally Posted by shanti (Post 519314)
ossipena, its hardly useless. Programmers will NOT be optifying their software Im sure because Im am programmer myself.
Our only chance if somebody smart create script like consoletools on N8x0 for dualbooting from SD card.

why not?

being honest: I laughed at your comment.

e: I can give you a hint:

http://wiki.maemo.org/Extras-testing/QA_Checklist

mece 2010-02-10 13:00

Re: rootfs full
 
Quote:

Originally Posted by ossipena (Post 519301)
because that is not needed with fully optimized apps. normal users shouldn't even use extras-testing and extras-devel if they don't know how to play around with these things. just look at output of df |grep rootfs, remove package, look at output. if the difference is big, leave app uninstalled. if it is small, reinstall app.

have you already moved app managers cache?
http://wiki.maemo.org/Free_up_rootfs...side_of_rootfs

WTF? Those instructions that doesn't actually move the cache, it only uses a temporary cache for doing one operation in this case dist-upgrade, which you should NOT do.

the script mentioned however does it.

ossipena 2010-02-10 13:02

Re: rootfs full
 
Quote:

Originally Posted by mece (Post 519329)
WTF? Those instructions that doesn't actually move the cache, it only uses a temporary cache for doing one operation in this case dist-upgrade, which you should NOT do.

the script mentioned however does it.

then be my quest and edit wiki article to the state, that it is truthful....

shanti 2010-02-10 13:03

Re: rootfs full
 
I am very advanced user and I want and I can be able to install all needed software like I did it on dualboot N810.

Rob1n 2010-02-10 13:09

Re: rootfs full
 
Quote:

Originally Posted by shanti (Post 519335)
I am very advanced user and I want and I can be able to install all needed software like I did it on dualboot N810.

Feel free to do so - if you're that advanced then you'll also be capable of managing the rootfs space yourself.

shanti 2010-02-10 13:13

Re: rootfs full
 
managing the rootfs space yourself
Yes I did everything I can. However now I have only 11M free space and I have nothing to delete. And have no skill for writing such script.

sygys 2010-02-10 13:15

Re: rootfs full
 
well i dont am a power user. and know absolutely not what im doing... Yet i still do it :D why? Because its fun! I keep laughing about the stupid systems. Why is this NAND chip so small anyway?

Why is this NAND chip not 2 GB or 32 GB. and how many times faster is it anyway? Like you mention any difference anyway with an app of 20 MB the eMMC reads it within 2 seconds and write it in 4. its getting allot of trouble with optimising nothing.

The OS should be on the NAND and the rest on the eMMC.

ossipena 2010-02-10 13:17

Re: rootfs full
 
Quote:

Originally Posted by sygys (Post 519349)
Why is this NAND chip not 2 GB or 32 GB.

call to TI and ask why in the hell there wasnt such chips integrated to OMAP 3430 at 2008...

Rob1n 2010-02-10 13:18

Re: rootfs full
 
Quote:

Originally Posted by shanti (Post 519348)
managing the rootfs space yourself
Yes I did everything I can. However now I have only 11M free space and I have nothing to delete. And have no skill for writing such script.

Then move & symlink things - there's been plenty of scripts to do this posted in the various threads. If you move the wrong thing, then it could leave your N900 unbootable though. And you could run into issues next time you come to update the firmware. But hey, you're a very advanced user so you'll be able to cope with that.

ossipena 2010-02-10 13:18

Re: rootfs full
 
Quote:

Originally Posted by shanti (Post 519348)
managing the rootfs space yourself
Yes I did everything I can. However now I have only 11M free space and I have nothing to delete. And have no skill for writing such script.

open your eyes and look at threads. keyword hint: "repartition"

shanti 2010-02-10 13:21

Re: rootfs full
 
I used cloned OS on my N810 and I was fully satisfied with it. I bought my N900 for more than $1000 and now I cannot install needed software :(

sygys 2010-02-10 13:31

Re: rootfs full
 
hey one more question. so is every app that i see with ps -ef and not in the opt directory on root? or how do i read this.

i opened for example battery-eye and did the script its in usr/bin/ (is that the root?

Sorry for being so noob...

Rob1n 2010-02-10 13:53

Re: rootfs full
 
Quote:

Originally Posted by sygys (Post 519376)
hey one more question. so is every app that i see with ps -ef and not in the opt directory on root? or how do i read this.

i opened for example battery-eye and did the script its in usr/bin/ (is that the root?

Sorry for being so noob...

Not sure what you're trying to do here. "ps -ef" shows the currently running apps, and it's not necessarily straightforward to see which are in rootfs and which aren't (some use symlinks so they "appear" to be in the rootfs).

The easiest way of seeing which applications are on the rootfs is to use StorageUsage (unfortunately, still in extras-devel) - this flags in red those apps using significant rootfs space (it's currently inaccurate on python apps though).

Alternately the scripts I posted here can be used to show all apps using rootfs space, or to query the usage of individual apps.

As for battery-eye, that's optified (in /opt/battery-eye) - what's running from /usr/bin there is the python interpreter, which is in the rootfs (though most of the libraries it uses aren't) and probably ought to remain there for performance reasons.

sygys 2010-02-10 15:12

Re: rootfs full
 
sorry i meant desmume is in that directory. i will install disk usage. it sounds like a usefull program! thanks for all the help everyone!

ossipena 2010-02-10 15:25

Re: rootfs full
 
Quote:

Originally Posted by shanti (Post 519365)
I used cloned OS on my N810 and I was fully satisfied with it. I bought my N900 for more than $1000 and now I cannot install needed software :(

you have multiple ways to fix the problem. I've given you already a hint. this goes to principal level: I'm not going to type "repartition" to the search textbox and click go -button and copypaste the second item in the list to here.... so go ahead and do it yourself..

shanti 2010-02-10 15:37

Re: rootfs full
 
I know about "repartition", thank you. But I dont think that it is right solution. However I wait some kind of resonance about idea of cloning Fremantle on SD.


All times are GMT. The time now is 18:09.

vBulletin® Version 3.8.8