forked from project-machine/puzzlefs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement the foreground option for the mount command
Inspired by cberner/fuser#179 (comment) The program exits when ctrl-c is pressed or when the filesystem is unmounted (e.g. fusermount -u <mountpoint>) Note that this issue zargony/fuse-rs#151 prevents using the destroy callback for notifying us that the filesystem was unmounted, so we use the drop callback as a workaround. Signed-off-by: Ariel Miculas <[email protected]>
- Loading branch information
1 parent
e92c671
commit 35be14f
Showing
5 changed files
with
81 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters