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

Use /dev/disk/by-uuid to get UUID links to other filesystems #54

Merged
merged 1 commit into from
Aug 31, 2017

Conversation

josephlr
Copy link
Member

This fixes #50 which showed how the libblkid cache is sometimes missing certain entries, making it impossible to create a filesystem link for an unprivileged user.

This PR removes the entire dependency on libblkid and libuuid. Now, a search of /dev/disk/by-uuid is done to find the appropriate UUID. This takes a dependency on certain default udev configs, but only for creating filesystem links. The rest of fscrypt will work without the dependency.

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.

Issue creating filesystem links with libblkid
1 participant