public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* Writing emmc write-protected area gives no error, though the protection is working
@ 2012-04-17  3:35 Jongman Heo
  0 siblings, 0 replies; only message in thread
From: Jongman Heo @ 2012-04-17  3:35 UTC (permalink / raw)
  To: linux-mmc


Hi all,

I've tested (temporary) write-protection feature of eMMC flash.

   #1. set the temporary write-protection (using CMD28)
   #2. write data to the write-protected area  (using dd or similar)
     -> gives no error at all.
   #3. checking the area confirms that write-protection is working, data is not over-written.

In step #2, I expected some error return, but no. Obviously write-protection is working, but user can't see any visible output.

Shouldn't write(2) return some error for above case?

Jongman.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-17  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17  3:35 Writing emmc write-protected area gives no error, though the protection is working Jongman Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox