From owner-freebsd-questions@FreeBSD.ORG Sat Jul 7 17:28:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B433C106566B for ; Sat, 7 Jul 2012 17:28:01 +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 74B298FC08 for ; Sat, 7 Jul 2012 17:28:01 +0000 (UTC) Received: from r56.edvax.de (port-92-195-60-31.dynamic.qsc.de [92.195.60.31]) by mx01.qsc.de (Postfix) with ESMTP id 0025F3CFFC; Sat, 7 Jul 2012 19:27:59 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q67HRx5d001963; Sat, 7 Jul 2012 19:27:59 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 7 Jul 2012 19:27:59 +0200 From: Polytropon To: FreeBSD Message-Id: <20120707192759.47796c1e.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Carmel Subject: Re: Format a USB flash drive using gpart 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: Sat, 07 Jul 2012 17:28:01 -0000 On Sat, 7 Jul 2012 13:15:10 -0400, Carmel wrote: > This is probably a dumb question, but does gpart even work on a USB > flash drive? I have not been able to figure out how to do it. I want to > erase the entire drive and format it for a FreeBSD UFS2 file system. In that case, screw slices and partitions 'n stuff. :-) # newfs /dev/da0 This is all you need (see "man newfs" and "man tunefs" for options you might need to optimize utilization, and check best fitting options for /etc/fstab, e. g. noatime if you are not going to need it). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...