JElchison / format-udf

Bash script to format a block device (hard drive or Flash drive) in UDF. The output is a drive that can be used for reading/writing across multiple operating system families: Windows, macOS, and Linux. This script should be capable of running in macOS or in Linux.
GNU General Public License v2.0
518 stars 48 forks source link

Fake partition table for extra compatibility #9

Closed IvanAnishchuk closed 9 years ago

IvanAnishchuk commented 9 years ago

How about creating a partition table with one partition, starting on the 0th sector? Like this script. Also, some comments on why is this needed might help.

I never personally tested my udf disk on all those systems, I only use linux, but it seems like a cool idea anyway.

JElchison commented 9 years ago

Hi @IvanAnishchuk, thanks for the message. Turns out I'm already one step ahead of you. :) I've been aware of the Perl script you referenced for quite some time, but it doesn't behave consistently. In the past week, I've reverse-engineered it and discovered some defects that may lead to inconsistent behavior. I'm currently in the process of incorporating the goal of that Perl script into format-udf--for the best of both worlds.

Stay tuned!

See also #7 and this page.

JElchison commented 9 years ago

Hi @IvanAnishchuk, just a heads up that version 1.1.0 of format-udf includes the fake MBR for added UDF compatibility on Windows.

Thanks for your interest!