[feature] Add automatic cascade mounting for filesystems #52
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: glenux/mfm#52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This feature request proposes adding support for automatic cascade mounting in MFM. This enhancement would enable MFM to identify and manage filesystem dependencies based on path hierarchy, removing the need for manually configured dependencies.
Use Case Example:
gocryptfsencrypted filesystem needs to be mounted at/mnt/toto/whatever/vault./mnt/toto/whateveris itself a mount point for another filesystem, such assshfs./mnt/toto/whateveris a required prefix for/mnt/toto/whatever/vault, and thus mountsshfsfirst to ensure the directory structure is available before attempting thegocryptfsmount.Steps to Reproduce
gocryptfsmount nested within an existingsshfsmount path.gocryptfsfilesystem without manually mountingsshfs.gocryptfsmount fails ifsshfsis not mounted first.Expected Behavior
MFM should:
/mnt/toto/whateveris a required prefix for/mnt/toto/whatever/vault.sshfsto make/mnt/toto/whateveravailable.gocryptfsonce the dependency is resolved.Actual Behavior
Currently, MFM does not handle path-based dependencies. Mounting a dependent filesystem like
gocryptfsfails if the parent mount (sshfs) is not manually mounted beforehand.Proposed Solution / Implementation
Path-Based Dependency Detection:
/mnt/toto/whateveris configured and used as a prefix in/mnt/toto/whatever/vault, MFM should automatically recognize the dependency.Automatic Mount Sequencing:
Error Handling and Logging: