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)

ste.richards 2010-03-02 09:36

rootfs file system location?
 
I want to look at the space and get a good idea of what's taking what. What is the file system location of rootfs?

floffe 2010-03-02 09:39

Re: rootfs file system location?
 
in X-terminal:
cd /
du -h .
[enjoy list of hundreds of subdirs]

krk969 2010-03-02 09:41

Re: rootfs file system location?
 
simple search should get you answers to basic questions
df -k

on the xterm will give you the status of filesystems

*EDIT*
du command is to see the size of the files in the specified/current path.

ste.richards 2010-03-02 09:46

Re: rootfs file system location?
 
I have ran 'df -kh' and although it shows the usage of rootfs it doesn't show the file system location of rootfs, only the usage of rootfs. It does show a few directories but these don't add up to be rootfs as their file size is over 256MB.

Also, 'du -h' will just show directory space usage and not provide the location of rootfs.

ossipena 2010-03-02 09:52

Re: rootfs file system location?
 
location of roofts is /

http://wiki.maemo.org/N900_filesystem

Rob1n 2010-03-02 09:55

Re: rootfs file system location?
 
Quote:

Originally Posted by ste.richards (Post 552212)
I have ran 'df -kh' and although it shows the usage of rootfs it doesn't show the file system location of rootfs, only the usage of rootfs. It does show a few directories but these don't add up to be rootfs as their file size is over 256MB.

The file size on rootfs will add up to over 256M as it's using a compressed file system.

ste.richards 2010-03-02 09:55

Re: rootfs file system location?
 
Is that article suggesting that every directory that isn't /home, /home/user/Mydocs or /media/mmc1 is the rootfs?

Rob1n 2010-03-02 09:57

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?

Pretty much, yes - the python libraries are bind mounted under /usr/lib/py* though, so you'll have to discount those.

ste.richards 2010-03-02 09:58

Re: rootfs file system location?
 
Quote:

Originally Posted by Rob1n (Post 552228)
Pretty much, yes - the python libraries are bind mounted under /usr/lib/py* though, so you'll have to discount those.

Makes sense, thanks.

rash.m2k 2010-03-02 10:00

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, rootfs it '/', then the microsd is mounted onto /media/mmc1, 2GB apps parition is mounted on /home and remaining 28gb or so is mounted on /home/user/MyDocs.

MyDocs is what you see in the N900 File Manager.


All times are GMT. The time now is 23:11.

vBulletin® Version 3.8.8