Date: Thu, 21 Aug 2008 02:05:31 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Andrei Iarus <poni1111@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Format USB stick in FreeBSD Message-ID: <87ljyr479g.fsf@kobe.laptop> In-Reply-To: <148960.41144.qm@web51703.mail.re2.yahoo.com> (Andrei Iarus's message of "Wed, 20 Aug 2008 08:49:53 -0700 (PDT)") References: <148960.41144.qm@web51703.mail.re2.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Aug 2008 08:49:53 -0700 (PDT), Andrei Iarus <poni1111@yahoo.com> wrote: > Hello, > How can I format a USB stick in FreeBSD? The same way you can format any other disk. 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 they are going to be used by non-BSD systems, I prefer msdosfs, so I use: fdisk -BI /dev/da0 newfs_msdos /dev/da0s1 The command-line options and what they do will be more obvious if you read the manpages of fdisk(8), bsdlabel(8), newfs(8), and newfs_msdos(8). There is also a nice article online that you will probably find useful: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/index.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ljyr479g.fsf>