Skip to content

Instantly share code, notes, and snippets.

Created July 28, 2014 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/cebe49ed99678f73f330 to your computer and use it in GitHub Desktop.
Save anonymous/cebe49ed99678f73f330 to your computer and use it in GitHub Desktop.
xubuntu@xubuntu:~$ sudo mkfs.ext4 /dev/sda1
mke2fs 1.42.9 (4-Feb-2014)
/dev/sda1 is not a block special device.
Proceed anyway? (y,n) Y
/dev/sda1 is mounted; will not make a filesystem here!
xubuntu@xubuntu:~$ sudo umount /dev/sda1
umount: /dev/sda1: not mounted
xubuntu@xubuntu:~$ sudo mkfs.ext4 /dev/sda1
mke2fs 1.42.9 (4-Feb-2014)
/dev/sda1 is not a block special device.
Proceed anyway? (y,n) y
/dev/sda1 is mounted; will not make a filesystem here!
xubuntu@xubuntu:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment