Re: check if a filesystem is mounted Actually Tim, Looking it over, your file system checking for "/" may
actually match the root mount point when your file system is not
mounted. based on the test I just did, you should probably try to
compare the file system name to the same name...in other words
if test "$MOUNT_POINT" = "/comx/data"
then
echo "File System is mounted"
else
echo "not mounted"
fi
(This is why I should never try to answer usenet before my morning
coffee...) |