Formatting a drive

 

There are two ways to format a drive under Linux which are comparable to Quick Format and Full Format under Windows.

To 'quick format', simply type:
mkfs -t vfat /dev/sda1

where 'vfat' is the type of file system and /dev/sda1 is the device

Or a full format would be:

dd if=/dev/zero of=/dev/sda1

followed by the mkfs command from above