>> How would 1 file be offline versus the whole /mnt/storage (or >>whatever) driectory? Could you check a file that should always be there >>(/mnt/storage/nfslockfile.lock) and if that isn't there, don't touch the >>database? > > >I don't mount my remote storage with nf but with samba. Either way, >there is a fix in CVS for this to check for filesize = 0 in the database >as an indicator of a bad recording and allow the deletion attempt.
I don't use nfs either, but the file is there anyway; I figured MythTV put it there and it would always exist in the directory (like the Windows dontdelete.me files). I thought you could check to see if that file existed; if it exists, go ahead and delete whatever -- the volume is mounted. If it doesn't exist, say something polite like "can't find recorded programs?" because the volume isn't mounted -- don't mess with the database. Is there a way to mount individual files (versus whole directories)? -Thor Johnson _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
