]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkfs-util: add fsverity option to make_filesystem()
authorAllison Karlitskaya <allison.karlitskaya@redhat.com>
Mon, 2 Dec 2024 20:00:47 +0000 (21:00 +0100)
committerAllison Karlitskaya <allison.karlitskaya@redhat.com>
Tue, 27 May 2025 07:26:02 +0000 (09:26 +0200)
commita46bb377105153c734bab690508c3d3bbc8248d3
tree0e436cb1579b068c75616fc00e0c2696057fc287
parentd89283b48e72091c2b787cbbd796e75a1390bb33
mkfs-util: add fsverity option to make_filesystem()

Add an fsverity flag to MkfsFlags and use it to pass the `-O verity`
option when creating an ext4 or f2fs filesystem: they share the same
argument for this.

The only other filesystem that currently supports fs-verity is btrfs and
it doesn't require a flag to be enabled when creating the filesystem.

Nothing uses this yet.

Signed-off-by: Allison Karlitskaya <allison.karlitskaya@redhat.com>
src/shared/mkfs-util.c
src/shared/mkfs-util.h