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 via email to