From owner-cvs-src@FreeBSD.ORG Fri Jun 23 00:31:53 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A78816A585; Fri, 23 Jun 2006 00:31:53 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C2F843ECD; Fri, 23 Jun 2006 00:00:38 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.222] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k5N00ZJU049699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Jun 2006 17:00:36 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <449B2F10.2020808@FreeBSD.org> Date: Thu, 22 Jun 2006 17:00:16 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Marcel Moolenaar References: <200606222222.k5MMMWTj017990@repoman.freebsd.org> In-Reply-To: <200606222222.k5MMMWTj017990@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/gpt gpt.8 gpt.c show.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 00:31:53 -0000 Marcel Moolenaar wrote: > marcel 2006-06-22 22:22:32 UTC > > FreeBSD src repository > > Modified files: > sbin/gpt gpt.8 gpt.c show.c > Log: > Improve support for Intel based Macs: > o Accept hfs as partition type. > o Print Apple HFS partitions using a friendly name. While we are on subject, I have a patch which makes geom_gpt friendly to the disks partitioned using BootCamp. Basically, for compatibility with non-GPT operating systems, BootCamp creates three records in the MBR: one GPT protective, covering the whole unit, the second one for HFS and the third one for non-Apple operating system. However, since geom_gpt considers protective MBR to be invalid unless it's the only valid MBR record, it doesn't attaches to such disk. Do you have any objections to lifting such check? Otherwise, without geom_gpt attached it is easy to destroy either GPT information or some of the existing GPT partitions not mapped to the MBR when installing FreeBSD. -Maxim