IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
489 stars 73 forks source link

daemon exit fails to unmount #204

Closed IgnorantGuru closed 11 years ago

IgnorantGuru commented 12 years ago

Received elsewhere:

I found a problem with spacefm daemon: it fails to unmount resources on exit if terminated upon X session exit. If I kill spacefm daemon with simple 'killall spacefm', resources get unmounted. But if I log out from session, no unmount happens. SpaceFM daemon does not produce any output.

IgnorantGuru commented 11 years ago

I don't see any direct way to avoid this as session logout sends a KILL signal which cannot be trapped. I have updated the user's manual to accurately reflect this behavior.

As a workaround, consider running an unmount command just before or after logout (via a logout script, etc). For example, devmon --unmount-all