Skip to content

Instantly share code, notes, and snippets.

@ignaciolg
Last active September 13, 2016 03:56
Show Gist options
  • Save ignaciolg/0e55a278987411831a48 to your computer and use it in GitHub Desktop.
Save ignaciolg/0e55a278987411831a48 to your computer and use it in GitHub Desktop.
newfs_msdos examples
#man page freebsd
#https://www.freebsd.org/cgi/man.cgi?query=newfs_msdos&apropos=0&sektion=0&manpath=FreeBSD+5.2-RELEASE&format=html
#man page macosx
#https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/newfs_msdos.8.html
#FAT 32 Cluster Size 16Kb Volume "NAME"
sudo newfs_msdos -F 32 -c 32 -v NAME /dev/disk1
#FAT 32 Cluster Size 32Kb Volume "NAME"
sudo newfs_msdos -F 32 -c 64 -v NAME /dev/disk1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment