From owner-freebsd-geom@FreeBSD.ORG Fri Jun 5 20:26:15 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B726106564A for ; Fri, 5 Jun 2009 20:26:15 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout017.mac.com (asmtpout017.mac.com [17.148.16.92]) by mx1.freebsd.org (Postfix) with ESMTP id 367EF8FC0A for ; Fri, 5 Jun 2009 20:26:13 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [172.24.105.139] (natint3.juniper.net [66.129.224.36]) by asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KKS005OS5ZG0Y60@asmtp017.mac.com>; Fri, 05 Jun 2009 12:26:05 -0700 (PDT) Message-id: <46FB00ED-62DC-4924-A84A-8C34B26DA22E@mac.com> From: Marcel Moolenaar To: Pawel Jakub Dawidek In-reply-to: <20090605051203.GD1705@garage.freebsd.pl> Date: Fri, 05 Jun 2009 12:26:04 -0700 References: <20090605051203.GD1705@garage.freebsd.pl> X-Mailer: Apple Mail (2.935.3) Cc: marcel@FreeBSD.org, Juli Mallett , freebsd-geom@freebsd.org Subject: Re: Is anything being done to un-break partition names? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 20:26:15 -0000 On Jun 4, 2009, at 10:12 PM, Pawel Jakub Dawidek wrote: > On Thu, Jun 04, 2009 at 04:18:09PM -0700, Juli Mallett wrote: >> Hey folks, >> >> If I install 7.2 (or old 8-CURRENT) and partition a drive >> "dangerously >> dedicated" and answer No when asked if I want to create a true >> partition entry, and then install as normal, my system is set up with >> partitions named like da0s1a. That's your problem. In a DD setup, you don't have slices. >> Newer 8-CURRENT instead names the >> devices da0a, This is correct. > > I don't think it was. For me it's a bug in GEOM_PART_MBR, which has > problems detecting MBRs properly. > > Shame on you, Marcel!:) The bug is on your disk and as such in sysinstall. GEOM_PART_MBR detects the MBR just fine. If you don't have GEOM_PART_BSD in your kernel your will in fact get the MBR slices. The problem for you is in the fact that you have a BSD disklabel in sector 2, which takes precedence. A disk partitioned as a BSD disklabel nested in an MBR slice can *NEVER* have a BSD disklabel in the 2nd sector on the disk. The fact that there is a BSD disklabel in sector 2 means that the disk is DD and that is what you get for gpart. FYI, -- Marcel Moolenaar xcllnt@mac.com