From: Jongman Heo <jongman.heo@samsung.com>
To: linux-mmc@vger.kernel.org
Subject: Question : existence check for eMMC device
Date: Mon, 16 Sep 2013 08:11:19 +0000 (GMT) [thread overview]
Message-ID: <19846323.30891379319079773.JavaMail.weblogic@epml26> (raw)
Hi, guys,
I need to support multiple systems with and without eMMC flash, using single software.
I used to check "/sys/block/mmcblk0/device/cid" file to decide whether eMMC flash exists or not on the system.
But it seems that the sysfs file might be brought up slowly (though it's very unusual, ~0.2%), so in that case, our rc script fails to detect the existence of eMMC.
Is there any reliable way to check the existence of eMMC device?
(wanna avoid busy polling or retry against the sysfs cid file until eMMC flash is detected...)
Thanks in advance, for any answer or comment.
Jongman Heo.
reply other threads:[~2013-09-16 8:11 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=19846323.30891379319079773.JavaMail.weblogic@epml26 \
--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;
as well as URLs for NNTP newsgroup(s).