-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically exit diod once last export has been clunked by the last client #84
Comments
I looked at the code and I can't find for the life of me on which data structures An equivalent ask would be to ensure that some external program is called, or some log record is written, when a file system is attached or detached by a client. This would allow me to track what |
Haven't done much with diod internals in a while, so I don't have a ready answer off the top of my head. I think the data structure you are looking for is The server can log each 9P message if you run it with One way to get a diod process to run for the lifetime of one mount is to pass it a file descriptor representing one client instead of telling it to listen for connections. Use the |
Thanks for your kind answer! I tracked down the issue and my client process was not closing its FDs, therefore remaining open, and keeping |
(This would still be a nice feature request, if you'd like to reopen it.) |
My work is definitely open source, and here it is: https://github.com/Rudd-O/qubes-shared-folders . I am using
Thanks for such an amazing project! |
Looks quite neat! Thanks for that. |
Hi! I am running automated testing of
diod
and I would like a mechanism to makediod
exit gracefully once all clients have signaled unmount (viaclunk
) of all attached file systems. Is this possible? If so, how? If not, how hard would it be to add this?The text was updated successfully, but these errors were encountered: