From 34aeb7bc0d35c1b293ee3feae866d6900a4becfa Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Mon, 1 Jun 2026 20:54:30 +0100 Subject: [PATCH] feat(floppy-utils): add bash toolkit for retro floppy disk operations Introduce floppy-utils: a CLI for creating, editing, archiving, and restoring floppy disk images on Linux with USB floppy drive support. Includes main floppy command, legacy wrappers, dependency checker, install script, and comprehensive documentation. --- README.md | 657 +++++++++++++++++++++++++++++ check-deps.sh | 226 ++++++++++ config.example | 10 + install.sh | 23 + src/floppy | 309 ++++++++++++++ src/floppy-attach | 70 +--- src/floppy-burn | 14 +- src/floppy-make | 23 +- src/lib/common.sh | 1019 +++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 2266 insertions(+), 85 deletions(-) create mode 100755 check-deps.sh create mode 100644 config.example create mode 100755 install.sh create mode 100755 src/floppy create mode 100644 src/lib/common.sh diff --git a/README.md b/README.md index e69de29..b83431c 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,657 @@ +# floppy-utils + +Bash toolkit for retro floppy work on Linux: create and edit disk images, archive physical floppies to files, and write images back to a USB floppy drive—without memorizing `dd`, `losetup`, and mount options. + +Designed for day-to-day use with a **USB floppy drive** (removable `/dev/sdX` that changes between machines). Loop mounts are kept separate from the physical drive so you can work on `.img` files offline and only touch hardware when reading or burning. + +**Tested hardware:** Mitsumi SmartDisk USB UFDD (`03ee:6901`), appearing as `/dev/sda`, FAT12 volumes, automount via udisks at `/media/$USER/