Reply
Thread Tools
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#11
Originally Posted by ste.richards View Post
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.
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search

Last edited by ossipena; 2010-03-02 at 10:04.
 
Posts: 47 | Thanked: 1 time | Joined on Feb 2010
#12
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.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#13
Originally Posted by ste.richards View Post
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's Avatar
Posts: 191 | Thanked: 46 times | Joined on Jun 2010 @ NanJing China
#14
Originally Posted by floffe View Post
in X-terminal:
cd /
du -h .
[enjoy list of hundreds of subdirs]
I don't think it gonna stop.........
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:07.