Opening flash device for update - locking

MikeW mw_phil at yahoo.co.uk
Wed May 16 05:24:35 EDT 2007


A utility program cannot open a /dev/mtd  in mode O_RDWR - permission denied
(/dev permission bits are OK)

Presumably this is because the device is locked.

OK, there is a MEMUNLOCK ioctl - hopefully this can be called
on a device that is only opened in O_RDONLY mode ?!

Regards,
MikeW





More information about the linux-mtd mailing list