Protecting Sectoring

Ian Campbell ijc at hellion.org.uk
Tue Oct 26 10:52:33 EDT 2004


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.





More information about the linux-mtd mailing list