Refactor mount drivers around explicit capabilities and a shared lifecycle #59
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#59
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?
Summary
Introduce a generic mount/unmount execution pipeline driven by explicit driver capabilities, and centralize alias/symlink lifecycle management.
This issue is a follow-up / architectural extension around
#58(kio-fusesupport).Why
Current drivers in
src/models/*do not expose their behavior explicitly. Instead, behavior is split between:src/models/concerns/base.cr*_config.crsrc/models/kio_fuse_config.crThis creates an inconsistency:
gocryptfs,sshfs,httpdirfsrely onConcerns::Basekio-fusebypassesConcerns::Baseand implements its own mount / unmount / mountpoint lifecycleProposal
Define an explicit driver behavior contract and refactor the current mount lifecycle around a shared coordinator.
Scope
Relevant files
src/models/abstract_filesystem_config.crsrc/models/concerns/base.crsrc/models/gocryptfs_config.crsrc/models/sshfs_config.crsrc/models/httpdirfs_config.crsrc/models/kio_fuse_config.crsrc/utils/dbus.crExpected outcome
Open questions
mounted?should remain overridable?fusermount -u, or become a backend-specific strategy?Related
#58