]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: udf: add support for APPLICATION_ID
authorPali Rohár <pali.rohar@gmail.com>
Sat, 5 Dec 2020 19:43:22 +0000 (20:43 +0100)
committerPali Rohár <pali.rohar@gmail.com>
Sat, 5 Dec 2020 19:43:22 +0000 (20:43 +0100)
commitf09ceed2b63c396b37ca256faba1cc1d1c44507f
treebef3a426bee5408da28041b30b2110c0c642ebe7
parentd8056b5489a365b96c19a4b7fbf0f6b1cbbd566c
libblkid: udf: add support for APPLICATION_ID

iso9660 superblock code already sets APPLICATION_ID to Application
Identifier from ISO9660 Supplementary Volume Descriptor.

In udf similar meaning has Application Identifier from UDF Primary Volume
Descriptor. Therefore exports it as APPLICATION_ID label.

More tools for generating hybrid ISO+UDF images (e.g. genisoimage, mkisofs
or nero) set Application Identifier in UDF Primary Volume Descriptor to
just empty string. But they set Implementation Identifier in UDF Primary
Volume Descriptor to their tool name.

So if Application Identifier is empty then exports Implementation
Identifier as APPLICATION_ID label.

Please note that Application Identifier and Implementation Identifier are
stored in UDF only in ASCII, not UNICODE.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
libblkid/src/superblocks/udf.c