Overrule mtd "ro" ?

Artem Bityutskiy dedekind1 at gmail.com
Wed Jun 27 05:48:29 EDT 2012


On Thu, 2012-06-14 at 10:05 +0200, Vellemans, Noel wrote:
> Hi all,
> 
> I've a rather simple question, don't know if it is the good place to
> ask, but I'll give it a go.
> 
> 
> If I have a mtd device that has been mounted ad READ-only.
> For example because I've injected kernel command line parameters
> mtdparts=atmel_nand:4M(BOOT)ro,16M(l1)ro.
> 
> Is there any way on the kernel "prompt" to over-rule this "ro" behavior
> and to make it writable.

Not sure, probably not. Check the if any mtd ioctl allows this. I guess
you could implement this feature.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120627/83cdf360/attachment.sig>


More information about the linux-mtd mailing list