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

mkfs.btrfs: support fs-verity in --rootdir #929

Open
allisonkarlitskaya opened this issue Nov 29, 2024 · 0 comments
Open

mkfs.btrfs: support fs-verity in --rootdir #929

allisonkarlitskaya opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement mkfs Changes in mkfs.btrfs

Comments

@allisonkarlitskaya
Copy link

When creating a filesystem with mkfs.btrfs --rootdir, it would be nice to check if the incoming files have fs-verity enabled on them, and if so, to enable it in the created filesystem.

It's possible to use FS_IOC_READ_VERITY_METADATA to copy the data out of the running kernel, avoiding the need to redo all the calculations (although it may be useful to have this code anyway, to share with fs-verity verification in btrfs check).

@kdave kdave added enhancement mkfs Changes in mkfs.btrfs labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement mkfs Changes in mkfs.btrfs
Projects
None yet
Development

No branches or pull requests

2 participants