Commit f742090a85dbc0432c4c53d50b445b6523f24b5e

Commits
[COMMIT BEGIN]
commit f742090a85dbc0432c4c53d50b445b6523f24b5e
Author: 0x4248 <[email protected]>
Date:   Tue Feb 10 23:55:32 2026 +0000

    scripts: floppy-qformat: init

diff --git a/usr/scripts/floppy-qformat.sh b/usr/scripts/floppy-qformat.sh
new file mode 100644
index 0000000..035c88c
--- /dev/null
+++ b/usr/scripts/floppy-qformat.sh
@@ -0,0 +1,18 @@
+# floppy-qformat.sh - Quick format a floppy disk with FAT12 filesystem
+# COMMAND [DEVICE] [LABEL (optional)]
+
+if [ -z "$1" ]; then
+    echo "Usage: $0 [DEVICE] [LABEL (optional)]"
+    exit 1
+fi
+
+DEVICE="$1"
+LABEL="${2:-FLOPPY}"
+if [ ! -b "$DEVICE" ]; then
+    echo "Error: $DEVICE is not a block device."
+    exit 1
+fi
+umount "$DEVICE" 2>/dev/null
+mkfs.vfat -F 12 -n "$LABEL" "$DEVICE"
+sync
+ 
\ No newline at end of file
[COMMIT END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.