JFFS2 New bie queries.

Ram vshrirama at gmail.com
Wed Jun 27 07:39:32 EDT 2007


Hi,
I have creating a few files in my jffs2 file system.

When i do command 'du -sh' i get a size which is totally different
from command 'df' (disk free)

Im using busybox.

[root at LocalHost user]#df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock8           61440     15508     45932  25% /
none                     14760        40     14720   0% /tmp

Which i can confirm is Wrong. I have created files in / which are of
size around 40MB.
This is reflected by the output of command 'du'

[root at LocalHost user]#du -h
39.6M


I dont know why both of the commands are giving different sizes.


Regards,
sriram



More information about the linux-mtd mailing list