Paul E. Condon [2012-07-20 09:50:53 -0600] wrote:

> I need a way to test in Bash whether, or not, there actually is a disk
> mounted at /media/wdp8.

#!/bin/sh

if mountpoint -q /media/wdp8; then
        echo Mounted
else
        echo Not mounted
fi


-- 
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/87k3xyurpl....@mithlond.arda

Reply via email to