Best Tool to Format a Hard Drive as UDF

formattingwindows

(This is a follow-up to "What is the partition id / filesystem type for UDF?")

I know two ways to format a hard drive as UDF:

  • Windows Vista or later: "format x: /fs:UDF" (don't use /q ! )
  • Linux: "mkudffs --media-type=hd --blocksize=512 /dev/sdx"

The problem is that the 'other' OS does not recognize the disk as formatted at all: it simply refuses to mount it, no matter what commands I try.

How can I format a hard drive as UDF so that both Windows and Linux will be able to use it?

EDIT: updated the commands, now the result should work in either OS.

Best Answer

It turns out that using the /q switch on Windows was the culprit: it enables 'quick format', i.e. the formatting process continues in background with every write made to the disk. Once it finishes, the drive is handled by Linux just fine.