You are not logged in.

#1 2024-12-03 17:20:25

componentscience
Member
Registered: 2024-01-05
Posts: 25

[Solved] What filesystem is best for a dm-verity partition

When creating a dm-verity partition, is there a preferred type of filesystem that should be used? How about btrfs?

https://wiki.archlinux.org/title/Dm-verity#Partitioning

Last edited by componentscience (2024-12-05 15:09:51)

Offline

#2 2024-12-04 16:42:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,384

Re: [Solved] What filesystem is best for a dm-verity partition

Read further, you don't use a traditional filesystem for that, but an explicitly marked verity format that's native to the DM layer: https://wiki.archlinux.org/title/Dm-ver … _up_verity

If you're going to setup btrfs you should setup btrfs directly without a layer in between.

Offline

#3 2024-12-05 15:07:57

componentscience
Member
Registered: 2024-01-05
Posts: 25

Re: [Solved] What filesystem is best for a dm-verity partition

Understood thank you. Similar to using cryptsetup format/open. One last point of clarification on the rootfs or whatever device is used. The rootfs would be formatted with a filesystem and configured before performing veritysetup format/open, and it could use any filesystem, i.e., btrfs or ext4?

Last edited by componentscience (2024-12-05 15:08:53)

Offline

Board footer

Powered by FluxBB