#!/usr/bin/env bash

###
# This will burn a floppy.img file to an actual physical 3.5" disk
###
if [[ $# -ne 1 ]]; then
    echo "Supply the disk image filepath to burn to disk"
    exit 1
fi

sudo dd if="$1" of=/dev/sda bs=512 conv=sync ; sync
