Lock utility in MTD util directory.

Jarkko Lavinen jlavi at iki.fi
Fri Aug 31 04:26:01 EDT 2001

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 

Jarkko Lavinen

More information about the linux-mtd mailing list