public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jarkko Lavinen <jlavi@iki.fi>
To: MTD for Linux <linux-mtd@lists.infradead.org>
Cc: Ashok M Padmanaban <ashokmp@sasken.com>
Subject: Re: Lock utility in MTD util directory.
Date: Fri, 31 Aug 2001 11:26:01 +0300	[thread overview]
Message-ID: <20010831112601.A26643@kosh.hut.fi> (raw)
In-Reply-To: <3B8E0B3B.3182A367@sasken.com>; from ashokmp@sasken.com on Thu, Aug 30, 2001 at 09:45:31AM +0000

On Thu, Aug 30, 2001 at 09:45:31AM +0000, Ashok M Padmanaban wrote:
>   how can i use the lock utiliry in the MTD/util directory.

I have to run the unlock command manually before mounting jffs2. Something 
like "unlock /dev/mtd0". Kernel needs to have the MTD character device
configured and the corresponding chip driver needs to have lock/unlock
functions implemented. Whether sectors are locked after power on depends 
on the chip. The reverse works also: "lock /dev/mtd0 0 -1" would lock all 
sectors.

Regards,
Jarkko Lavinen

      reply	other threads:[~2001-08-31  8:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-30  9:45 Lock utility in MTD util directory Ashok M Padmanaban
2001-08-31  8:26 ` Jarkko Lavinen [this message]

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=20010831112601.A26643@kosh.hut.fi \
    --to=jlavi@iki.fi \
    --cc=ashokmp@sasken.com \
    --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