All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sandeep Kumar" <sandeepksinha@gmail.com>
To: dedekind@infradead.org
Cc: linux-mtd@lists.infradead.org
Subject: Re: max_ec value is shown as 1
Date: Thu, 11 Jan 2007 16:52:55 +0530	[thread overview]
Message-ID: <37d33d830701110322x5f60ec88r17b0cdd562ec8d4b@mail.gmail.com> (raw)
In-Reply-To: <1168512581.26936.33.camel@sauron>

On 1/11/07, Artem Bityutskiy <dedekind@infradead.org> wrote:
> Hello Sandeep,
>
> On Thu, 2007-01-11 at 10:44 +0000, Sandeep Kumar wrote:
> > [root@localhost ubi]#cd /sys/class/ubi/ubi0/
> > [root@localhost ubi0]# cat max_ec
> > 1
> >
> > Well, Can anyone help me in determining that why the max_ec is shown as 1.
>
> What did you expect instead?
>
I got it, I think. I mistook this value as the maximum erase count for
a leb on that device. And thats why I was surprised.

I think information is used for wear leveling.

> You fed empty flash to UBI, UBI erased each eraseblock once and put
> erase counter header to each eraseblock, with erase counter = 1, because
> there was one erase.
>



> And max_ec which means maximum erase counter value is 1.
>
> --
> Best regards,
> Artem Bityutskiy (Битюцкий Артём)
>
>


-- 
Regards,
Sandeep





 	
If the facts don't fit the theory, change the facts.

  reply	other threads:[~2007-01-11 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11 10:44 max_ec value is shown as 1 Sandeep Kumar
2007-01-11 10:49 ` Artem Bityutskiy
2007-01-11 11:22   ` Sandeep Kumar [this message]
2007-01-11 11:34     ` Artem Bityutskiy

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=37d33d830701110322x5f60ec88r17b0cdd562ec8d4b@mail.gmail.com \
    --to=sandeepksinha@gmail.com \
    --cc=dedekind@infradead.org \
    --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 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.