Skip to content

Instantly share code, notes, and snippets.

@manuelmorales
Created June 3, 2012 11:47
Show Gist options
  • Save manuelmorales/2863170 to your computer and use it in GitHub Desktop.
Save manuelmorales/2863170 to your computer and use it in GitHub Desktop.
Format pendrive Ubuntu
# Guess which device is it
$ sudo cat /etc/mtab | grep /media/Pendrive
/dev/sdb1 /media/Pendrive vfat rw,utf8,umask=007,gid=46 0 0
# Unmount and format
sudo umount /media/Pendrive
sudo mkfs.vfat -n Pendrive -I /dev/sdb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment