Last active
June 18, 2024 23:54
-
-
Save james4388/77dcf78a210e3a5b8f5683cdd5eeb903 to your computer and use it in GitHub Desktop.
Mount FAT32 ReadWrite mac OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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