FreeBSD - Create and Mount a FAT32 Thumbdrive¶
sudo gpart destroy da0
sudo gpart create -s gpt da0
sudo gpart add -t ms-basic-data -s 29G -i 1 /dev/da0
sudo newfs_msdos -F 32 /dev/da0p1
/dev/da0p1: 60802496 sectors in 950039 FAT32 clusters
BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 \
Media=0xf0 SecPerTrack=63 Heads=255 HiddenSecs=0 \
HugeSectors=60817408 FATsecs=7423 RootCluster=2 \
FSInfo=1 Backup=2
sudo mount -t msdos /dev/da0p1 /mnt/da0