🍺 BREW Explorer

← all formulae

format-udf

brew install format-udf v1.8.0 GPL-2.0-or-later

Bash script to format a block device to UDF

3
30-day installs · #12301
5
90-day · #14491
20
365-day · #14150
577
★ GitHub stars · updated 2y ago

GitHub topics

bash bash-script bash-scripting disk flash flash-drive flash-drives format format-udf hard-disk harddrive hdd linux macos mbr partition-table posix shell udf windows

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Bash script to format a block device to UDF",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:46+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "format-udf",
  "github_default_branch": "master",
  "github_last_commit_at": "2023-10-16T16:22:01Z",
  "github_readme_excerpt": "format-udf\n==========\n\nBash 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.\n\n[![Build Status](https://travis-ci.org/JElchison/format-udf.svg?branch=master)](https://travis-ci.org/JElchison/format-udf)\n\n\n# Features\n* Formats a block device (hard drive or Flash drive) in \u003ca href=\"https://en.wikipedia.org/wiki/Universal_Disk_Format\"\u003eUniversal Disk Format (UDF)\u003c/a\u003e\n    * UDF revision 2.01 used for maximal compatibility (see note on Linux support below)\n* Resulting file system can be read/written across multiple operating system families (Windows, macOS, and Linux)\n* Runs on any OS having a Bash environment\n* Optionally wipes device before formatting\n* Ability to override detected device block size\n* Option to force non-interactive mode (useful for scripting)\n* Writes a fake MBR for added compatibility on Windows (optionally disabled)\n\nFor the advanced user, format-udf is also capable of formatting a single existing partition, without modifying the partition table.  Beware that using this method will render the newly formatted UDF partition unusable on macOS (but still usable on Linux and Windows).  (See [#24](https://github.com/JElchison/format-udf/issues/24) for caveats.)  Because of this limitation, the recommendation is to format the entire device.\n\n\n# Why?\nformat-udf was created to address some OS-specific quirks that prevent a naively-formatted UDF device from working across various operating systems.  Here are some of the complicating factors, which format-udf aims to abstract away:\n\n* Different operating systems support different versions of the UDF specification.  Some OS versions only offer read-only support.\n* Windows seems to only mount UDF devices if the file system block size matches the device\u0027s logical block size\n* Different operating systems (lik",
  "github_repo": "JElchison/format-udf",
  "github_stars": 577,
  "github_topics": [
    "bash",
    "bash-script",
    "bash-scripting",
    "disk",
    "flash",
    "flash-drive",
    "flash-drives",
    "format",
    "format-udf",
    "hard-disk",
    "harddrive",
    "hdd",
    "linux",
    "macos",
    "mbr",
    "partition-table",
    "posix",
    "shell",
    "udf",
    "windows"
  ],
  "homepage": "https://github.com/JElchison/format-udf",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 3,
  "installs_365d": 20,
  "installs_90d": 5,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-or-later",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "format-udf",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 12301,
  "rank_365d": 14150,
  "rank_90d": 14491,
  "raw_hash": "face5aa172d6fd91",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/f/format-udf.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.8.0",
  "versioned_formulae": [],
  "why_use_this": null
}