[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Format USB stick in FreeBSD



On Wed, 20 Aug 2008 08:49:53 -0700 (PDT), Andrei Iarus <poni1111_(_at_)_yahoo_(_dot_)_com> wrote:
> Hello,
> How can I format a USB stick in FreeBSD?

Three possibilities in general:

1. Use FreeBSD's UFS file system:

	# newfs /dev/da0

2. Use the MS-DOS file system that is present on most sticks by default

	# mount_msdosfs /dev/da0s1 /mnt

3. Don't use any file system, use tar (max. UNIX interoperability):

	# tar cvf /dev/da0 <files...>

Read the newfs manpage. The examples above use da0 as the name
of the device associated to the USB stick. Check this via dmesg
before eventually running newfs on something important. :-)

	# dmesg | grep ^da


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org