[mythtv-users] OT: out of disk space, but not really....

Yan-Fa Li yanfali at best.com
Wed Dec 29 22:46:57 UTC 2004


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


More information about the mythtv-users mailing list