check disk usage

Xiaogeng (Shawn) Jin xjin at redswitch.com
Thu Oct 17 16:58:46 EDT 2002


Hi,

My root filesystem is jffs2, which is mounted by kernel getting booting 
parameters "root=/dev/mtdblock3 rw" from the command line. I noticed 
that running 'df -k' only shows the usage of those devices that are 
mounted explicitly by 'mount' command but not the root filesystem. The 
following is the result of 'df -k' running on busybox-0.60.2.

# df -k
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock0           16384       688     15696   4% /usr
/dev/mtdblock1           16384      5836     10548  36% /home
/dev/mtdblock2           16384       652     15732   4% /var

On a regular linux system, e.g. RedHat, we do get information about the 
usage of the root filesytem, right?

Is this a problem? If it's is, is it related to jffs2 or busybox?

Thanks,

Shawn.





More information about the linux-mtd mailing list