Linux fsverity development list
 help / color / mirror / Atom feed
* FS_IOC_ENABLE_VERITY error: invalid argument
@ 2024-05-02 17:44 Wojciech Kuzyszyn
  0 siblings, 0 replies; only message in thread
From: Wojciech Kuzyszyn @ 2024-05-02 17:44 UTC (permalink / raw)
  To: fsverity

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

Hello!

I made a fresh file to pretend being a disk with:

$ truncate -s 40M test

I then made it a block device and formatted it:

# losetup -f test
# mkfs.ext4 -L test -O verity /dev/loop1

When trying to enable fs-verity on a test file inside this new
fake-device I always get the error mentioned in the subject. Of course
I have CONFIG_FS_VERITY built-in to kernel, and the file I'm testing is
a regular file created with:

$ dd if=/dev/urandom bs=1K count=20 | base64 > a.txt

Any ideas, what's going on?

I will really appreciate help!

Thanks,
Wojciech Kuzyszyn

-- 
xWK

[-- Attachment #2: Podpis cyfrowy OpenPGP --]
[-- Type: application/pgp-signature, Size: 244 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-02 17:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-02 17:44 FS_IOC_ENABLE_VERITY error: invalid argument Wojciech Kuzyszyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox