All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ijc@hellion.org.uk>
To: Raghav K <raghavk@myw.ltindia.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Protecting Sectoring
Date: Tue, 26 Oct 2004 15:52:33 +0100	[thread overview]
Message-ID: <1098802353.22403.143.camel@icampbell-debian> (raw)
In-Reply-To: <s17eb105.052@EMAIL>

Hi,


On Tue, 2004-10-26 at 15:47, Raghav K wrote:
> Is there any mechanism by which one could protect and unprotect 
> certain sectors of flash through an application.

There are some ioctls you can issue on the /dev/mtdX devices. There are
examples in mtd cvs in the util subdirectory (lock.c and unlock.c)

Ian.
-- 
Ian Campbell
Current Noise: Vintersorg - Blindsight Complexity

Wedding rings are the world's smallest handcuffs.

      reply	other threads:[~2004-10-26 14:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-26 14:47 Protecting Sectoring Raghav K
2004-10-26 14:52 ` Ian Campbell [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=1098802353.22403.143.camel@icampbell-debian \
    --to=ijc@hellion.org.uk \
    --cc=linux-mtd@lists.infradead.org \
    --cc=raghavk@myw.ltindia.com \
    /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.