Even simpler. Create a known file on the ntfs side and check for it. An unmounted file system should be an empty directory. If the file is
there you much have successfully mounted the fs.


if [ -f /mnt/ntfs/ntfs.mounted ] ; then
        do you stuff here
else
        echo "Error: NTFS File System not mounted.  Aborting." >2
fi

Not sure about the above script as I did it from memory.

Yan
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to