[yocto] How do I tell when a USB disk is ready?

Chris Tapp opensource at keylevel.com
Mon Oct 24 17:10:01 PDT 2011


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?

Chris Tapp

opensource at keylevel.com
www.keylevel.com






More information about the yocto mailing list