[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] JFFS2 partition - used space incorrect
Hello Peter,
Peter Lewis wrote:
> 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?
Can you confirm that you are using the older version of the mb-gcc tools
(`mb-gcc -v` will probably report 2.95.4 or similar)?
If so, I recommend you update to the newer tools, released a couple of
weeks ago and available via the website.
In the older tools there were problems with the handling of long long
arguments and parameters to functions, which I suspect are being
triggered by the jffs2 code and/or df application. This also manifested
itself in strange stats reporting by the ifconfig tool.
Refer to the following list posting for details on what is required for
using the new tools. As long as you are using a reasonably recent
version of the kernel and uClinux-dist sources, it should require very
little effort:
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/08/msg00181.html
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/