From owner-freebsd-bugs@FreeBSD.ORG Sun May 30 21:00:14 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA0681065672 for ; Sun, 30 May 2010 21:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A97448FC1C for ; Sun, 30 May 2010 21:00:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4UL0Ev6068562 for ; Sun, 30 May 2010 21:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4UL0EiS068561; Sun, 30 May 2010 21:00:14 GMT (envelope-from gnats) Date: Sun, 30 May 2010 21:00:14 GMT Message-Id: <201005302100.o4UL0EiS068561@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: dieterbsd@engineer.com Cc: Subject: Re: kern/141235: 8.0 no longer provides /dev entries for all disk slices [regression] X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dieterbsd@engineer.com List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 21:00:14 -0000 The following reply was made to PR kern/141235; it has been noted by GNATS. From: dieterbsd@engineer.com To: bug-followup@freebsd.org, jh@FreeBSD.org Cc: freebsd@sopwith.solgatos.com, freebsd-bugs@FreeBSD.org Subject: Re: kern/141235: 8.0 no longer provides /dev entries for all disk slices [regression] Date: Sun, 30 May 2010 16:56:56 -0400 >> and then I added GEOM_MBR and GEOM_BSD as suggested. So I don't >> know where GEOM_PART_MBR comes from or how to get rid of it. > > GEOM_PART_* are in DEFAULTS (sys/amd64/conf/DEFAULTS on amd64). Ah ha! opt_geom.h now contains: #define GEOM_BSD 1 #define GEOM_LABEL 1 #define GEOM_PART_GPT 1 #define GEOM_MBR 1 (same as 7.1 had) Now I have /dev entries for extended partitions, and the duplicate and bogus entries are gone. GUID partitioning and partition labels still work. Yea! Having some GEOM options in DEFAULTS and some in the config file seems prone to error. I suggest putting them all in the same file. Yes, grep can easily find it, but despite many years of experience with grep, find, and xargs I somehow managed to miss DEFAULTS. I can only blame lack of sleep. Having both GEOM_MBR and GEOM_PART_MBR is confusing. If there is a good reason to retain both, better documentation might be in order. Same for GEOM_BSD and GEOM_PART_BSD. Thank you.