cvs commit: src/sbin/gpt gpt.8 gpt.c show.c

Maxim Sobolev sobomax at FreeBSD.org
Fri Jun 23 00:31:53 UTC 2006


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


More information about the cvs-all mailing list