Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 01:24:41 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org, Andrei Iarus <poni1111@yahoo.com>
Subject:   Re: Format USB stick in FreeBSD
Message-ID:  <20080821012441.c3556d2c.freebsd@edvax.de>
In-Reply-To: <87ljyr479g.fsf@kobe.laptop>
References:  <148960.41144.qm@web51703.mail.re2.yahoo.com> <87ljyr479g.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
Just an addition:

On Thu, 21 Aug 2008 02:05:31 +0300, Giorgos Keramidas <keramida@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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821012441.c3556d2c.freebsd>