Format USB stick in FreeBSD
Polytropon
freebsd at edvax.de
Wed Aug 20 23:24:45 UTC 2008
Just an addition:
On Thu, 21 Aug 2008 02:05:31 +0300, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> I usually format my USB sticks by creating a single da0s1 slice and then
> one (or more) BSD labels in that slice, by typing the commands:
>
> fdisk -BI /dev/da0
> bsdlabel -w -B /dev/da0s1
> newfs /dev/da0s1a
If you want to use the USB stick as a whole, you neccessarily
don't need to apply a disklabel to access /dev/da0s1a. You
can simply format the whole device and use /dev/da0 (which is
equivalent to the obsoleted form /dev/da0c, "the whole device").
So this is completely sufficient:
# newfs /dev/da0
A bit more simple.
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list