From owner-freebsd-questions@FreeBSD.ORG Fri Sep 13 02:39:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7EF64303 for ; Fri, 13 Sep 2013 02:39:04 +0000 (UTC) (envelope-from vagabond@blackfoot.net) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 507242F59 for ; Fri, 13 Sep 2013 02:39:03 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r8D2d1NL071863; Thu, 12 Sep 2013 20:39:01 -0600 (MDT) (envelope-from vagabond@blackfoot.net) Message-ID: <52327AC5.7080205@blackfoot.net> Date: Thu, 12 Sep 2013 20:39:01 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: Warren Block Subject: Re: initialize msdosfs on memory stick? References: <5232348E.4070607@dreamchaser.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Thu, 12 Sep 2013 20:39:01 -0600 (MDT) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Sep 2013 02:39:04 -0000 On 09/12/13 17:52, Warren Block wrote: > On Thu, 12 Sep 2013, Gary Aitken wrote: > >> I can't seem to find how to do this in the handbook or man pages. I >> need to initialize a usb memory stick with an msdos file system. Is >> it possible, or do I have to find a windoze system? > > Sure, it's possible. For maximum compatibility, I'd suggest creating > an MBR layout on it. Some devices expect that. Assuming it is da0 > (make sure) and that everything on it has been backed up... > > # gpart destroy -F da0 > # gpart create -s mbr da0 > # gpart add -t \!12 da0 > # newfs_msdos -F32 /dev/da0s1 That worked, thanks. Where is the magic file type !12 described? I don't see it as one of the possibilities in man gpart.