Nicolas George wrote: 
> [email protected] (HE12025-12-17):
> > In a bash script, check that a USB store is connected before trying to 
> > mount it.
> 
> As a general rule, do not check beforehand: do and see if it works.
> 
> Any check done beforehand is subject to at least two pitfalls:
> inconsistency between the check and the action and race condition.


In this case:

mount UUID=SDGSGFQWQWR@@$#@$QWSFWQS 
and check for errors.

-dsr-

Reply via email to