Is it possible to intentionally corrupt a file so that BTRFS will report a checksum error? I want to test a script that's supposed to find file names with checksum errors, but I don't have any corrupt files.EDIT: After a long time of searching I found the same question on AskUbuntu with some solutions. Unfortunately, I don't see any btrfs-corrupt-block utility, despite the fact that I have btrfs-progs installed.
Simulate bitrot/corrupt files (for BTRFS)
btrfs;corruption