Format disk: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "Find where your disk is located, using `lsblk` or `mount` In linux disks are often refered to /dev/sda (you computer's hard-disk), /dev/sdb, /dev/sdc , etc In Mac... To ma...")
 
No edit summary
Line 1: Line 1:
Find where your disk is located, using `lsblk` or `mount`
Find where your disk is located, using <code>lsblk</code> or <code>mount</code>


In linux disks are often refered to /dev/sda (you computer's hard-disk), /dev/sdb, /dev/sdc , etc
In linux disks are often refered to /dev/sda (you computer's hard-disk), /dev/sdb, /dev/sdc , etc

Revision as of 15:11, 6 April 2017

Find where your disk is located, using lsblk or mount

In linux disks are often refered to /dev/sda (you computer's hard-disk), /dev/sdb, /dev/sdc , etc

In Mac...

To make a file system simply do:


sudo mkfs.msdos /dev/sdb
sudo mkfs.vfat /dev/sdb