maemo.org - Talk

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

ossipena 2010-03-02 10:02

Re: rootfs file system location?
 
Quote:

Originally Posted by ste.richards (Post 552224)
Is that article suggesting that every directory that isn't /home, /home/user/Mydocs or /media/mmc1 is the rootfs?

yes. of course /dev/ etc folders are whole another story that can be read at the link in bottom of wiki page:
http://en.wikipedia.org/wiki/Unix_directory_structure

e: and of course /media/ -subdirectories aren't part of rootfs. compare it to /mnt/ -directory mentioned in wikipedia article.

ste.richards 2010-03-02 10:18

Re: rootfs file system location?
 
The following may help you track down rootfs hungry apps/games

1) Run 'sudo gainroot'
2) Run 'cd /'
3) Run 'du -h | sort -n -r > size.log'
4) Run 'cat size.log | more'

The higher rootfs usage directories will appear at the top of the list. I assume from the above information that anything inside /home can be ignored as using rootfs space. I have noticed a few games that think it's OK to install over 2MB on rootfs including Electric Beams, Supertux and PRBoom.

Rob1n 2010-03-02 10:42

Re: rootfs file system location?
 
Quote:

Originally Posted by ste.richards (Post 552250)
The following may help you track down rootfs hungry apps/games

1) Run 'sudo gainroot'
2) Run 'cd /'
3) Run 'du -h | sort -n -r > size.log'
4) Run 'cat size.log | more'

The higher rootfs usage directories will appear at the top of the list. I assume from the above information that anything inside /home can be ignored as using rootfs space. I have noticed a few games that think it's OK to install over 2MB on rootfs including Electric Beams, Supertux and PRBoom.

You can also use the scripts I've posted here which will list all applications (giving both package name and, where available, display name) and the space they take from rootfs. I've recently rewritten them to avoid calling dpkg repeatedly, so they should be pretty quick now.

pursueky 2011-03-07 02:21

Re: rootfs file system location?
 
Quote:

Originally Posted by floffe (Post 552205)
in X-terminal:
cd /
du -h .
[enjoy list of hundreds of subdirs]

I don't think it gonna stop.........


All times are GMT. The time now is 15:06.

vBulletin® Version 3.8.8