On Wed, 2011-03-09 at 20:14 +0100, Loïc Minier wrote:
> On Wed, Mar 09, 2011, Guilherme Salgado wrote:
> > Do we know why this happens in some cases?  It'd be better if we could
> > only sleep when we know there's a chance that the partitions may be
> > available after that.
> 
>  I'm not sure what you're asking; are you asking for a test on whether
>  we need to sleep?  That's sfdisk -l, as I do in the script before
>  sleeping

My concern is that sfdisk -l returning non-zero may not be a very good
indication that we should sleep.  It will return non-zero on any error
and I expect most errors to not go away after a 30 seconds sleep, in
which case we'd be delaying l-m-c's exit unnecessarily.  That may not be
a big deal, though.

-- 
Guilherme Salgado <https://launchpad.net/~salgado>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to