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