public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Protecting Sectoring
@ 2004-10-26 14:47 Raghav K
  2004-10-26 14:52 ` Ian Campbell
  0 siblings, 1 reply; 2+ messages in thread
From: Raghav K @ 2004-10-26 14:47 UTC (permalink / raw)
  To: linux-mtd

Greetings all,

Is there any mechanism by which one could protect and unprotect 
certain sectors of flash through an application.

Thanks in advance,
-raghav-

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Protecting Sectoring
  2004-10-26 14:47 Protecting Sectoring Raghav K
@ 2004-10-26 14:52 ` Ian Campbell
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2004-10-26 14:52 UTC (permalink / raw)
  To: Raghav K; +Cc: linux-mtd

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-26 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26 14:47 Protecting Sectoring Raghav K
2004-10-26 14:52 ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox