On Fri, 2012-07-20 at 09:50 -0600, Paul E Condon wrote:
> I need a way to test in Bash whether, or
> not, there actually is a disk mounted at /media/wdp8. 

A bit hacky, but what I do in my backup scripts is...

   if mount | grep -q " /media/wdp8 "
   then
        ...
   fi

-- 
Tixy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1342807475.2952.5.ca...@computer2.home

Reply via email to