I used a spi-nor chip and made one 16M partition as JFFS2 fs. I found a weird thing that I should have used 14M storage, but when I use df to check, it shows only 7M have been used:
/ # df
Filesystem 1K-blocks Used Available Use% Mounted on
...
/dev/mtd7 16384 7488 8896 46% /data
...
After I copied another 2M file to this partition:
/tmp # ls -l
-rwxr-xr-x 1 0 0 Fri Jul 24 18:32:46 2015 2478144 asd
It turns out that only 1M more storage have been used:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
....
/dev/mtd1 16384 8744 7640 53% /tmp
....
Is there any one also found this issue?
Thanks,