[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.

Regards,

-- 
  Nicolas George

Reply via email to