linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question : existence check for eMMC device
@ 2013-09-16  8:11 Jongman Heo
  0 siblings, 0 replies; only message in thread
From: Jongman Heo @ 2013-09-16  8:11 UTC (permalink / raw)
  To: linux-mmc


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.

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

only message in thread, other threads:[~2013-09-16  8:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-16  8:11 Question : existence check for eMMC device Jongman Heo

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).