From owner-freebsd-questions@FreeBSD.ORG Wed Aug 20 18:14:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B417106564A for ; Wed, 20 Aug 2008 18:14:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8028FC18 for ; Wed, 20 Aug 2008 18:14:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-98-37.dynamic.qsc.de [92.195.98.37]) by mx01.qsc.de (Postfix) with ESMTP id 12DB250C74; Wed, 20 Aug 2008 20:14:33 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m7KIEXbS001831; Wed, 20 Aug 2008 20:14:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 20 Aug 2008 20:14:33 +0200 From: Polytropon To: Andrei Iarus Message-Id: <20080820201433.132ef27f.freebsd@edvax.de> In-Reply-To: <148960.41144.qm@web51703.mail.re2.yahoo.com> References: <148960.41144.qm@web51703.mail.re2.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Format USB stick in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 18:14:35 -0000 On Wed, 20 Aug 2008 08:49:53 -0700 (PDT), Andrei Iarus 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 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, ...