Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zoliky/68de0f021ee7e0270e8f0677a1953121 to your computer and use it in GitHub Desktop.
Save zoliky/68de0f021ee7e0270e8f0677a1953121 to your computer and use it in GitHub Desktop.
Creating and Formatting a Drive to FAT32 (Up to 4GB) in FreeBSD
# assuming usb drive to be formatted is da0
# gpart destroy -F da0
# gpart create -s mbr da0
# gpart add -a 1M -t fat32 da0
# newfs_msdos -F32 /dev/da0s1
# mount_msdosfs /dev/da0s1 /media
Original thread:
https://forums.freebsd.org/threads/which-filesystem-should-i-use-for-a-usb-flash-drive-to-ensure-it-is-accessible-on-both-freebsd-and-linux.94419/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment