public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Cam Mayor <cmayor@iders.ca>
To: a-linux-mtd <linux-mtd@lists.infradead.org>
Subject: MTD/JFFS2 bug - misreported filesystem usage
Date: Tue, 30 Sep 2003 18:19:23 -0500	[thread overview]
Message-ID: <0309301819230B.25773@kilauea.iders.ca> (raw)

hi all,

I found a reproducable bug in the version of mtd/jffs2 that i have.  I'm 
using kernel 2.4.19-rmk7, and an MTD snapshot from March 25/2003.  My 'df' 
command comes from busybox version 0.60.5.

Bug: misreported filesystem usage

Procedure to reproduce:
1) boot system (this unlocks a NOR flash MTD area on which JFFS2 gets mounted)
2) 'df' to see filesystem usage
3) umount jffs2 partition
4) erase mtd partition which had jffs2 filesystem
5) mount jffs2 on newly erased partition
6) 'df' to see filesystem usage.
	"Used" and "Available" fields are switched; switch is reflected in the 
"Use%" field
7) write a file to JFFS2 filesystem
8) 'df' to see filesystem usage
	The filesystem usage is now reported accurately.



-- 
Cameron Mayor
Iders Incorporated

             reply	other threads:[~2003-09-30 23:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 23:19 Cam Mayor [this message]
2003-09-30 23:25 ` MTD/JFFS2 bug - misreported filesystem usage David Woodhouse

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=0309301819230B.25773@kilauea.iders.ca \
    --to=cmayor@iders.ca \
    --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