]> git.ipfire.org Git - thirdparty/util-linux.git/commit
test: Add UDF hdd image with final block size 4096 created by Linux mkudffs 1.3
authorPali Rohár <pali.rohar@gmail.com>
Sun, 12 Nov 2017 21:05:15 +0000 (22:05 +0100)
committerPali Rohár <pali.rohar@gmail.com>
Sun, 12 Nov 2017 21:05:15 +0000 (22:05 +0100)
commit99777b8d11117b1faab3f00a4c48f77b53c8b475
treecd2443241f426f74adba1c89259bed62746ef080
parentf5f269ece5a98f99a52e1dfa5e4d61fee83bf242
test: Add UDF hdd image with final block size 4096 created by Linux mkudffs 1.3

$ dd if=/dev/zero of=udf-hdd-mkudffs-1.3-7.img bs=1M count=10
$ mkudffs -l Label512 -b 512 udf-hdd-mkudffs-1.3-7.img
$ mkudffs -l Label4096 -b 4096 udf-hdd-mkudffs-1.3-7.img

Image file was first formatted with block size 512 and then reformatted
with block size 4096. Volume Recognition Sequence was overwritten and every
Volume Structure Descriptor is now 4096 bytes long. Trying to read second
VSD as 2048 bytes long will fail because 4069 bytes long VSD is padded with
zeros. To verify that image file was properly detected, it should have
label "Label4096" and not "Label512".
tests/expected/blkid/low-probe-udf-hdd-mkudffs-1.3-7 [new file with mode: 0644]
tests/ts/blkid/images-fs/udf-hdd-mkudffs-1.3-7.img.xz [new file with mode: 0644]