From: Wojciech Kuzyszyn <wkuz@op.pl>
To: fsverity@lists.linux.dev
Subject: FS_IOC_ENABLE_VERITY error: invalid argument
Date: Thu, 2 May 2024 19:44:49 +0200 [thread overview]
Message-ID: <20240502194449.23bf074b@wolf> (raw)
[-- 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 --]
reply other threads:[~2024-05-02 17:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240502194449.23bf074b@wolf \
--to=wkuz@op.pl \
--cc=fsverity@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.