From owner-p4-projects Sun May 26 19:10:30 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A57A437B400; Sun, 26 May 2002 19:10:21 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B021937B401 for ; Sun, 26 May 2002 19:10:20 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4R2AKH92318 for perforce@freebsd.org; Sun, 26 May 2002 19:10:20 -0700 (PDT) (envelope-from marcel@freebsd.org) Date: Sun, 26 May 2002 19:10:20 -0700 (PDT) Message-Id: <200205270210.g4R2AKH92318@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar Subject: PERFORCE change 11947 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11947 Change 11947 by marcel@marcel_vaio on 2002/05/26 19:09:19 o Add a GEOM class to handle GPT disks. o Add a copy of gpt.h from sbin/gpt to sys/sys and made the following changes: - Rename GPT_ENT_TYPE_FREEBSD_SLICE to GPT_ENT_TYPE_FREEBSD - Fix the byte-order bug in the clock sequence field of the FreeBSD specific UUIDs. These UUIDs were created with a broken uuidgen. The copy in sbin/gpt is going away. The GPT class detects the partitions correctly and you can mount and boot from them, but only if you axe out the MBR class first. As a short-term hack, I'll probably make the MBR class back off when it detects the GPT signature in the second sector, but the right thing to do is to have the MBR class back off when it sees a protective MBR. The GPT class must then back off if there's a MBR that's not a protective MBR. Affected files ... ... //depot/projects/ia64/sys/conf/files#25 edit ... //depot/projects/ia64/sys/geom/geom_gpt.c#1 add ... //depot/projects/ia64/sys/sys/gpt.h#1 add Differences ... ==== //depot/projects/ia64/sys/conf/files#25 (text+ko) ==== @@ -723,6 +723,7 @@ geom/geom_dump.c optional geom geom/geom_enc.c optional geom geom/geom_event.c optional geom +geom/geom_gpt.c optional geom geom/geom_io.c optional geom geom/geom_kern.c optional geom geom/geom_mbr.c optional geom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message