Skip to content

Instantly share code, notes, and snippets.

@james4388
Last active June 18, 2024 23:54
Show Gist options
  • Save james4388/77dcf78a210e3a5b8f5683cdd5eeb903 to your computer and use it in GitHub Desktop.
Save james4388/77dcf78a210e3a5b8f5683cdd5eeb903 to your computer and use it in GitHub Desktop.
Mount FAT32 ReadWrite mac OS
# Get device (sd card)
diskutil list
# Unmount all partition from device. Example /dev/disk6
sudo diskutil unmountDisk /dev/disk6
# Make a directory to mount to
sudo mkdir /Volumes/msdos
# Mount. /dev/disk6 become /dev/disk6s1
sudo mount -w -t msdos /dev/disk6s1 /Volumes/msdos
# Eject when done
sudo diskutil unmount force /dev/disk6s1
sudo diskutil eject /dev/disk6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment