Skip to content

EGRID website

Sections
Personal tools
You are here: Home » Software » ELFI » Wiki » unmount on crash?
Views

Should ELFI be unmounted when the ELFI daemon crashes?

This would be fairly easy to do: in main.cpp, fork() before going into the FUSE main loop, and have the child do the usual FUSE stuff, and the parent just wait()` for the child. If the child exits, call fuse_umount() to unmount the filesystem.

By default, FUSE will leave the mountpoint intact, but return a "Transport endpoint is not connected".

The previous FUSE default was to forcibly unmount the system; since they have changed it, I assume they had good reason to do the switch, and that is something not good in automatic unmounting that is not apparent to the eye.


 

Powered by Plone

This site conforms to the following standards: