Skip to content

Instantly share code, notes, and snippets.

@aroman
Created December 28, 2014 00:03
Show Gist options
  • Select an option

  • Save aroman/def3b3d76a53f7c7da3b to your computer and use it in GitHub Desktop.

Select an option

Save aroman/def3b3d76a53f7c7da3b to your computer and use it in GitHub Desktop.
~/Downloads $ sudo diskutil eraseDisk FAT32 YO MBRFormat /dev/disk1
Password:
Sorry, try again.
Password:
Started erase on disk1
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk1s1 as MS-DOS (FAT32) with name YO
512 bytes per physical sector
/dev/rdisk1s1: 62883808 sectors in 1965119 FAT32 clusters (16384 bytes/cluster)
bps=512 spc=32 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=2 drv=0x80 bsec=62914558 bspf=15353 rdcl=2 infs=1 bkbs=6
Mounting disk
Finished erase on disk1
~/Downloads $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment