How to format a pen drive?

Paul Smith phhs80 at gmail.com
Sun Nov 5 21:20:41 UTC 2006


On 11/5/06, Thierry Sayegh De Bellis <linux at glossolalie.org> wrote:
> > How can one format a pen drive?
> >
> same procedure as with a hdd.
> fdisk /dev/devX where devX is the name of the device associated with the
> pen drive.
> Create a partition with the proper type, then create the filesystem on
> it. (man mkfs)

Thanks, Thierry. The following command does it:

mkfs.vfat -F32 /dev/sdaX

Paul




More information about the users mailing list