Have you considered something that opens a file on the filesystem after it's been mounted ? If a process is holding a lock on an open file then it will stop you accidentally unmounting the FS. If you do want to unmount the FS, you just need to end the process holding the open file lock. Simon