1

sudo cdrwtool -i -d /dev/sr4 and dvd+rw-mediainfo /dev/sr4 do not indicate the UDF version.
(1.02, 1.50, 2.00, 2.01, 2.50, 2.60)

How can I find out the UDF version of a DVD?

CC BY-SA 4.0
6
  • 1
    Trivial answer: udisksctl info --block-device /dev/sr0 | grep Id Nov 6, 2018 at 14:45
  • Id: IdLabel: IdType: IdUUID: IdUsage: IdVersion: is all blank.
    – neverMind9
    Nov 6, 2018 at 15:07
  • 1
    Is the DVD blank? ... of course, I had sr0 and you had sr4 ... so... make sure the device name matches whatever you are testing. Nov 6, 2018 at 15:13
  • @RubberStamp Device name matches. And the DVD inside was already formatted using Windows, because if there is one thing where Windows crushes Linux, it is UDF support. It works out of the box with Windows. Also packet writing just works. Pktsetup from only supports read only mount. And only works occasionally.
    – neverMind9
    Nov 6, 2018 at 15:26
  • 1
    So, exactly how was the disc written... single session format, packet writing, multi-session... created using Windows built-in tools or separate program? etc... etc... More details will be needed to answer the question. Nov 6, 2018 at 15:47

1 Answer 1

2

You can use udfinfo tool which is available from udftools project since version 2.0.

$ udfinfo /dev/sr4

It prints lot of information about UDF filesystem, including two UDF revision numbers:

udfrev=2.01
udfwriterev=2.01

First one is minimal UDF revision needed to read UDF filesystem and second one is minimal UDF revision to write/modify UDF filesystem.

Another option is to use blkid tool from util-linux project. But you need at least version 2.31.

$ blkid -p -s VERSION -o value /dev/sr4

It prints minimal UDF revision needed to read UDF filesystem:

2.01
CC BY-SA 4.0
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.