[Yaffs] [Yaffs-archive] Re: "du" returns wrong values on yaf…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Stephan Linke, Yaffs List
Subject: [Yaffs] [Yaffs-archive] Re: "du" returns wrong values on yaffs
On Tuesday 19 August 2003 21:39, Stephan Linke wrote:
> Hi,
> we are using "du" to detect the amount of space occupied by some of our
> files to keep us from running out of space. Unfortunately YAFFS returns a
> block count of zero.
>

Stepahn I found and ??corrected?? a problem, though I don't know it is 100%
yet. THis is in cvs.

At best du only provides an estimate and does not account for various other
overheads (eg. bad blocks, reserved blocks). statfs() , as used by 'df',
gives a better indicator of free space.

Stephan: please try the new yaffs_fs and see if this helps.

-- Charles

---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.