-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly prevent mounting over an existing mount
It's valid to mount multiple file systems to the same directory, but doing so requires the first one to be mounted read-write, which is why this wasn't a problem for us until #327. It seems libfuse2's version of fusermount explicitly checked this(?), but libfuse3 no longer rejects it. In principle this might be something we'd want to allow, but I think the less surprising/error-prone customer experience is to refuse to do it, so let's explicitly forbid it. Signed-off-by: James Bornholt <[email protected]>
- Loading branch information
1 parent
d71d4b4
commit 486c145
Showing
4 changed files
with
105 additions
and
19 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