From: Artem Bityutskiy <dedekind@infradead.org>
To: Ladislav Michl <ladis@linux-mips.org>
Cc: Stefan Roese <sr@denx.de>, linux-mtd@lists.infradead.org
Subject: Re: flash_eraseall reports incorrect percentage
Date: Fri, 21 Nov 2008 11:51:38 +0200 [thread overview]
Message-ID: <1227261098.3954.49.camel@sauron> (raw)
In-Reply-To: <20081118185652.GA32157@michl.2n.cz>
On Tue, 2008-11-18 at 19:56 +0100, Ladislav Michl wrote:
> On Wed, Jan 30, 2008 at 02:03:13PM +0100, Stefan Roese wrote:
> > It seems that the flash_eraseall utility doesn't report the correct percentage
> > upon completion. After erasing the last sector, the output seems not to get
> > updated anymore. This leads to something like this on a partition with only 2
> > sectors:
> >
> > flash_eraseall /dev/mtd6
> > Erasing 256 Kibyte @ 40000 -- 50 % complete.
> >
> > I'm just posting this report as a reference. Perhaps somebody has a little
> > time to fix it.
>
> Well, I sacrificed a little time otherwise used to prepare supper, but
> fridge is emty...
>
> # flash_eraseall /dev/mtd4
> Erasing 128 Kibyte @ 2800000 -- 100 % complete.
>
> flash_eraseall
> * fix percentage reporting
> * exit()ing from main() is overkill, just return
>
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
It seems others are busy, so I took a look at this. I think the patch is
OK, pushed to mtd-utils.git.
Thanks.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2008-11-21 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-30 13:03 flash_eraseall reports incorrect percentage Stefan Roese
2008-11-18 18:56 ` Ladislav Michl
2008-11-21 9:51 ` Artem Bityutskiy [this message]
2008-11-21 11:22 ` Josh Boyer
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=1227261098.3954.49.camel@sauron \
--to=dedekind@infradead.org \
--cc=ladis@linux-mips.org \
--cc=linux-mtd@lists.infradead.org \
--cc=sr@denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.