-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
de-duplicate fuse mounting/unmounting code (#2199)
* replace call to sif's pkg/user code in squashfuseMount() with call to CE's squashfs code * changed internal/pkg/util/fs/squashfs to use internal/pkg/util/fs/squashfs/fuse; add ctx args as needed * replace call to sif's pkg/user code in CleanupHost() with call to CE's squashfs code * address review comments * error out instead of warning on invalid FUSE mount extra opt * drop samber/mo dependency * unit-test at Mount()/Unmount() level rather than pkg internals * improve checking of extra opts: add "nosiud", "nodev"; some refactoring * incorporate UID, GID as struct-fields; improve unit-test
- Loading branch information
preminger
authored
Sep 18, 2023
1 parent
4dc233b
commit bfb7a87
Showing
16 changed files
with
319 additions
and
151 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.