Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the root directory to be a btrfs filesystem #340

Merged
merged 4 commits into from
Jan 27, 2022
Merged

Conversation

ebiggers
Copy link
Collaborator

No description provided.

Add back the mountsByPath map, which indexes all Mounts by mountpoint.
This is needed again.

To avoid confusion, also rename two local variables named mountsByPath.

mountsByPath won't contain nil entries, so also make AllFilesystems()
use it instead of mountsByDevice.  This shouldn't change its behavior.

Update #339
Restore the canonicalizePath() function from before commit
f2eb79f, since it's needed again.

Update #339
This is needed to make FindMount() work on btrfs filesystems.

Update #339
This is needed to allow creating protector links to btrfs filesystems.

Update #339
@ebiggers ebiggers merged commit be16498 into master Jan 27, 2022
@ebiggers ebiggers deleted the fix-btrfs branch January 27, 2022 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant