3 # This is the script that was used to create the image.gz in this directory.
8 umount mnt &> /dev/null || true
10 dd if=/dev/zero of=image bs=4096 count=128
11 mke2fs -O 'verity,extents' -b 4096 -N 128 image
14 # Create a verity file, but make it fragmented so that it needs at least one
15 # extent tree index node, in order to cover the scan_extent_node() case.
17 head -c 4096 /dev/zero > mnt/tmp_$i
19 for i in {1..80..2}; do
22 head -c $((40 * 4096)) /dev/zero > mnt/file
23 fsverity enable mnt/file