]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: udf: Fix reporting UDF 2.60 revision
authorPali Rohár <pali.rohar@gmail.com>
Fri, 25 May 2018 15:52:31 +0000 (17:52 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Fri, 25 May 2018 15:52:31 +0000 (17:52 +0200)
commit4c837d4ffe43c5378da683b8fc63e17eb3afcf46
treee4e2ddd9c184e187b99aa113fda3e6aaa56671f8
parent7816ee22d596a8d406add0ee50c8aefd192ceb11
libblkid: udf: Fix reporting UDF 2.60 revision

According to the UDF 2.60 specification, the Minimum UDF Read Revision
value shall be at most #0250 for all media with a UDF 2.60 file system.

So in this case use Minimum UDF Write Revision as ID_FS_VERSION to
distinguish between UDF 2.50 and UDF 2.60 discs.

This commit also adds a testing Blu-Ray Recordable image with UDF revision
2.60 created by Nero which really sets Minimum UDF Read Revision to 2.50.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
libblkid/src/superblocks/udf.c
tests/expected/blkid/low-probe-udf-bdr-2.60-nero [new file with mode: 0644]
tests/ts/blkid/images-fs/udf-bdr-2.60-nero.img.xz [new file with mode: 0644]