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 [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to