Hacker GitHub

← All repos

JElchison/format-udf

View on GitHub ↗ ★ 587 Shell

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.

9 mentions on Hacker News by 8 people: 0 stories, 9 comments · first 2016-06-26 · latest 2024-03-21

Mentions per year 9 mentions · busiest year 2020 (2)
20082026
  1. The note about the partition table makes me wonder how he was formatting the drive. https://github.com/JElchison/format-udf specifically does some partition table related hacks to make UDF maximally compatible with different platforms.
  2. …hard drive, I have had success with UDF. Surprisingly so, given that it's basically a hack. See: https://github.com/JElchison/format-udf . This basically won't work on drives over 2TB, however.
  3. …UDF cross compatibility required a bit of non-trivial work[0], did this improve recently? [0] https://github.com/JElchison/format-udf
    comment by yyyk · 2023-04-22 · in Windows on Btrfs
  4. …for a universal file system is UDF. Windows, Mac, and Linux all have full read/write support. See: https://github.com/JElchison/format-udf
  5. A sibling comment linked https://github.com/JElchison/format-udf which claims that it creates a whole-device FS which works across all 3.
    comment by fulafel · 2021-07-19 · in Vboxsf fixes for 5.14-1
  6. …specific gotchas with UDF. If you want to use UDF on a drive, I suggest using the script at https://github.com/JElchison/format-udf . It takes into account the platform specific gotchas and formats a drive properly to be usable across…
    comment by tssva · 2021-07-19 · in Vboxsf fixes for 5.14-1
  7. …to be having even better support for it than Linux so you can give it a shot. Lastly, you can use https://github.com/JElchison/format-udf for creating most compatible filesystem across different devices.
  8. …can also be used on a flash drive[1]. [0] https://en.wikipedia.org/wiki/Universal_Disk_Format [1] https://github.com/JElchison/format-udf
  9. …Here is a Linux script to format a drive as UDF so it is usable with both Linux and Windows: https://github.com/JElchison/format-udf/blob/master/format-u... UDF works well for thumb drives that are large enough that you might want to copy…