Files
mop3/testing/make_test_drive.sh
kamkow1 bbee9b2b1c
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 2m5s
Build documentation / build-and-deploy (push) Successful in 47s
New FAT32 backend library
2026-05-01 23:16:44 +02:00

11 lines
244 B
Bash
Executable File

#!/bin/sh
set -xe
rm -f test_drive.img
dd if=/dev/zero of=test_drive.img bs=1M count=128
parted test_drive.img --script mklabel msdos
parted test_drive.img --script mkpart primary fat32 1MiB 100%
mkfs.vfat -F 32 --offset 2048 test_drive.img