|
Hello,
We're found an inconsistency with our JFFS2
partition. We've successfully mounted the JFFS2 device with the
mount -t JFFS2 /dev/mtdblock6 commands and
confirmed that we can write to it and that the data is being committed. However
when we run the df command
we get the following:
#
df
Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 4398046511104 4398046511104 0 100% / /dev/mtdblock6 4398046511104 4398046511104 4398046511104 32% /var/jff # the numbers for mtdblock6 (jffs2 partition) do not
make any sense. Has anyone seen this before? Are there any explanations for it?
Also is the 32% usage to be expected?This value is actually correct as I can
copy 714911 bytes to the block before it says its full and this amount is about
68% of the 1MB size. The usage % also increase proportionately as more files are
copied to the partition.
Thank you,
Peter Lewis Iris Power Engineering
# cat /proc/mtd
dev: size erasesize name mtd0: 00004000 00004000 "Bootloader" mtd1: 00004000 00002000 "Bootargs" mtd2: 00004000 00008000 "MAC" mtd3: 00010000 00010000 "Config" mtd4: 00004000 00008000 "Spare" mtd5: 00200000 00010000 "Image" mtd6: 00100000 00010000 "JFFS2" mtd7: 00400000 00010000 "Flash" mtd8: 00090000 00001000 "Romfs" # |