On 25 Oct 2011, at 09:45, Gary Thomas wrote:

On 2011-10-24 18:10, Chris Tapp wrote:
I've got a minimal root file system that will be used to install a poky image from a USB stick.

The init script this uses mounts sda1 (from where it's just booted), but sda1 isn't ready when it tries to do this - I can see the bus enumeration messages on the console after the
mount fails.

How can my script test to see when the device is ready?

You could try looking for /dev/sda1 in /proc/partitions like in
attached script.

Thanks Gary, that's just what's needed :-)

Chris

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to