Format a Hard Drive

Started by cdusseau, November 05, 2010, 22:21:06 PM

Previous topic - Next topic

cdusseau

I'm trying to format a hard drive (/dev/sda) using a script, but all the tools I've tried, I either dont understand how to use properly or just dont do what I need.

Could someone write a quick and dirty shell script to format /dev/sda to fat32

thanks

Elmar

a hard drive with sda only? you have no partition on it? however, the command is

mkfs.vfat -F 32 /dev/sda