Skip to content

Instantly share code, notes, and snippets.

@thanos
Created July 30, 2012 20:55
Show Gist options
  • Select an option

  • Save thanos/3210118 to your computer and use it in GitHub Desktop.

Select an option

Save thanos/3210118 to your computer and use it in GitHub Desktop.
formates and mounts a drive for ubuntu linux -= I use this all the time in EC2 to add ESB
sudo mkfs -t ext4 /dev/$1
sudo mount -t ext4 /dev/$1 $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment