]> 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)
committerKarel Zak <kzak@redhat.com>
Wed, 11 Jul 2018 13:49:03 +0000 (15:49 +0200)
commit841f24ba0765dbbfd30eea157dbfba8e806b916b
tree565aabf8dcf2286ac5700b46a2657e4a75b0770f
parentb5a7500b6d3501cc667cecb23aa95a3bc27c5250
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]