On Wed, 20 Aug 2008 08:49:53 -0700 (PDT), Andrei Iarus <[EMAIL PROTECTED]> 
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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to