Skip to contentSkip to conversation

Protecting Sectoring

DISCUSSION Raghav K 2 participants 2 messages Oct 26, 2004 Memory technology devices (MTD)

lore
Share & tools
lore

Raghav K

author
#0 lore raw

Greetings all,

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

Thanks in advance,
-raghav-

#1 lore raw

Hi,

Quoted 2 lines · Raghav K

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.

Signature · 4 lines
Ian Campbell
Current Noise: Vintersorg - Blindsight Complexity

Wedding rings are the world's smallest handcuffs.