Hello all! Does anybody know how to detect that MMC card is locked (by write-protection switch)? For example by ioctl or via sysfs?
P.S. I know that I could guess by write operations failure. :)