From owner-freebsd-questions@FreeBSD.ORG Fri Feb 8 18:40:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 107ED746; Fri, 8 Feb 2013 18:40:39 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C58A7852; Fri, 8 Feb 2013 18:40:38 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r18IeZV7068290; Fri, 8 Feb 2013 11:40:35 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r18IeYLo068287; Fri, 8 Feb 2013 11:40:34 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 8 Feb 2013 11:40:34 -0700 (MST) From: Warren Block To: Arthur Chance Subject: Re: mount: /dev/da0p1: Invalid argument In-Reply-To: <511524D1.9010809@qeng-ho.org> Message-ID: References: <201302081338.r18DcGa5034982@mech-cluster241.men.bris.ac.uk> <51150FED.1050606@gmail.com> <511524D1.9010809@qeng-ho.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 08 Feb 2013 11:40:35 -0700 (MST) Cc: mexas@bristol.ac.uk, "Joseph A. Nagy, Jr" , freebsd-questions@freebsd.org, freebsd-sparc64@freebsd.org 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, 08 Feb 2013 18:40:39 -0000 On Fri, 8 Feb 2013, Arthur Chance wrote: > http://en.wikipedia.org/wiki/Basic_data_partition > > I think you probably want to use the type code for a Windows Basic data > partition, which would be > > gpart add -t !EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 other_gpart_args > > [depending on your shell you may have to escape that '!']. According to the > second Wikipedia page > > "According to Microsoft, the basic data partition is the equivalent to > partition types 0x06, 0x07, and 0x0B (FAT16, NTFS, FAT32) in the traditional > MBR partition table." I just use type 12: # gpart add -t \!12 ... It would be kind of nice if gpart had some keywords for those types, though.