Euan Harris a3ec804ad9 manage-vdi: Wait until devices have been created before mounting
kpartx creates partition devices asynchronously - it may exit before
the devices have been created.  This may cause a subsequent mount call
to fail, because the device it is trying to mount does not yet exist.
kpartx now has a -s option which makes it wait for the devices to be
created before returning, but the version XenServer's dom0 doesn't have
this option.   Work around this by retrying the mount.

When dom0's kpartx is updated, we will be able to use the -s option.

Change-Id: I823a8eac4f3a2ef313d06e21da0f38ed46d7386a
2013-07-11 15:50:32 +01:00
..
2012-08-01 20:03:01 -05:00
2012-06-27 22:25:56 -05:00
2012-11-30 17:51:12 -05:00
2012-06-27 22:25:56 -05:00
2013-04-29 11:46:57 +10:00
2013-01-10 01:56:23 -06:00
2012-08-17 12:12:46 -05:00