public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "David Mackay" <monitoreurope@yahoo.co.uk>
To: linux-mtd@lists.infradead.org
Subject: JFFS
Date: Tue, 23 Oct 2001 15:39:13 +0100 (BST)	[thread overview]
Message-ID: <20011023143913.42416.qmail@web20302.mail.yahoo.com> (raw)

Hi,

Could someone shed some light on a difficulty we are
experiencing? We have an X86 board with 8meg of flash
and 16meg of RAM. As you can see from the df output
below most is mounted as / with a meg or so as /var
and a 2meg ram disk mounted as /var/tmp. However we
are finding that the df output differs substantially
from the actual usage, as you can see from the du on
the var directory tree we should only be using 132K
whereas df suggests 552K. We understand that the file
system itself will need a little space and on top of
that there will be some wastage. Indeed if we fill
/var up with files it does clean itself to an extent
but we are still some 40% short.

As we use /var for FIFO data storage on this system
(many 8-32K files) we need a reliable predictable free
space estimation in order to be able to maximise the
number of stored files before we delete to add new.
Therefore a better understanding of the inner workings
of JFFS would be appreciated.

arcom@ME /var$ du -s *
3       home
0       lock
0       log
129     me
0       run
34      tmp
arcom@ME /var$ df
Filesystem           1k-blocks      Used Available
Use% Mounted on
/dev/root                 5888      5524       364 
94% /
/dev/mtdblock1            1152       552       600 
48% /var
/dev/ram0                 2011        52      1857  
3% /var/tmp
arcom@ME /var$ 

Many thanks, David

____________________________________________________________
Nokia Game is on again. 
Go to http://uk.yahoo.com/nokiagame/ and join the new
all media adventure before November 3rd.

             reply	other threads:[~2001-10-23 14:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-23 14:39 David Mackay [this message]
2001-10-23 22:00 ` JFFS David Woodhouse
2001-11-07 18:20   ` JFFS David Mackay
2001-11-07 18:40     ` JFFS David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2004-09-29 13:28 Jffs lp4u
2004-09-29 15:32 ` Jffs Michael Moedt
2001-05-06 22:36 JFFS Jason Walker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011023143913.42416.qmail@web20302.mail.yahoo.com \
    --to=monitoreurope@yahoo.co.uk \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox