FS_IOC_ENABLE_VERITY error: invalid argument
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
Signature · 1 line
xWK