Show you how to format a USB Flash - FAT32.

General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Show you how to format a USB Flash - FAT32.

Postby valsorym » 25 Jul 2011, 10:53

Show you how to format a USB Flash - FAT32.
USB Flash is defined as [FILE]/dev/da0[/FILE] (and [FILE]/dev/da0s1[/FILE] - sector). How to format it to FAT32?

How to clean a flash drive, I realized - but change the file system does not work:
(it is [FILE]# mount /dev/da0s1 /mnt[/FILE])

Code: Select all
umount /mnt
dd if=/dev/zero of=/dev/da0
User avatar
valsorym
Member
 
Posts: 419
Joined: 08 Jun 2011, 20:16
Location: Ukraine

Postby vermaden » 25 Jul 2011, 11:16

Code: Select all
# newfs_msdos /dev/da0s1
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
[FILE][color="DarkSlateBlue"]http://vermaden.blogspot.com[/color][/FILE]
User avatar
vermaden
Giant Locked
 
Posts: 2316
Joined: 16 Nov 2008, 19:37
Location: pl_PL.lodz

Postby valsorym » 25 Jul 2011, 11:34

Yes, this is it!
Thank you very much.
User avatar
valsorym
Member
 
Posts: 419
Joined: 08 Jun 2011, 20:16
Location: Ukraine

Postby vermaden » 25 Jul 2011, 11:56

Welcome.
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
[FILE][color="DarkSlateBlue"]http://vermaden.blogspot.com[/color][/FILE]
User avatar
vermaden
Giant Locked
 
Posts: 2316
Joined: 16 Nov 2008, 19:37
Location: pl_PL.lodz

Postby valsorym » 27 Jul 2011, 20:38

Theme maybe closed.
Thank all, again.
User avatar
valsorym
Member
 
Posts: 419
Joined: 08 Jun 2011, 20:16
Location: Ukraine


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests