public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Jongman Heo <jongman.heo@samsung.com>
To: linux-mmc@vger.kernel.org
Subject: Writing emmc write-protected area gives no error, though the protection is working
Date: Tue, 17 Apr 2012 03:35:12 +0000 (GMT)	[thread overview]
Message-ID: <15237741.51731334633712478.JavaMail.weblogic@epv6ml06> (raw)


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.



                 reply	other threads:[~2012-04-17  3:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15237741.51731334633712478.JavaMail.weblogic@epv6ml06 \
    --to=jongman.heo@samsung.com \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox