From owner-cvs-all Sat Nov 2 4:24:59 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCC6F37B401; Sat, 2 Nov 2002 04:24:57 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D67243E3B; Sat, 2 Nov 2002 04:24:57 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA2COu0N087788; Sat, 2 Nov 2002 04:24:56 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gA2COuOX001448; Sat, 2 Nov 2002 04:24:56 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gA2COuVv001447; Sat, 2 Nov 2002 04:24:56 -0800 (PST) Date: Sat, 2 Nov 2002 04:24:56 -0800 From: Marcel Moolenaar To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/geom geom_gpt.c Message-ID: <20021102122456.GB1417@athlon.pn.xcllnt.net> References: <200211021145.gA2Bjs7K024194@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211021145.gA2Bjs7K024194@repoman.freebsd.org> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 02, 2002 at 03:45:54AM -0800, Marcel Moolenaar wrote: > marcel 2002/11/02 03:45:54 PST > > Modified files: > sys/geom geom_gpt.c > Log: > Fix dumpconf so libdisk can grok its output. We weren't checking > if indent was NULL. Consequently we always emitted the XML format. In case someone's interested: On ia64 GEOM gives: kern.geom.conftxt: 0 DISK da1 9186603008 512 hd 255 sc 63 1 GPT da1p2 2147483648 512 i 1 o 7039102464 ty 516e7cb5-6ecf-11d6-8ff8-00022d09712b 1 GPT da1p1 7039085056 512 i 0 o 17408 ty 516e7cb6-6ecf-11d6-8ff8-00022d09712b 0 DISK da0 9186603008 512 hd 255 sc 63 1 GPT da0p3 2147483648 512 i 2 o 7031928832 ty 516e7cb5-6ecf-11d6-8ff8-00022d09712b 1 GPT da0p2 6925000192 512 i 1 o 106928640 ty 516e7cb6-6ecf-11d6-8ff8-00022d09712b 1 GPT da0p1 106896384 512 i 0 o 32256 ty c12a7328-f81f-11d2-ba4b-00a0c93ec93b 0 DISK afd0 126222336 512 hd 8 sc 32 Which libdisk digests as: itanium% ./tst01 da0 GPT [da0p3] 26824 8192 error = 0 GPT [da0p2] 407 26416 error = 0 GPT [da0p1] 0 407 error = 0 c 0x600000000000c000 c->p 0x600000000000c080 c->p->p 0x0 --==##==-- Debug_Disk(da0) bios_geom=0/255/63 = 0 --> 0x600000000000c000 0 17942584 17942583 da0 - ?? 0x00 --> 0x600000000000c080 0 63 62 - - unused 0x00 --> 0x600000000000c280 63 208782 208844 da0p1 (null) fat 0x00 --> 0x600000000000c200 208845 13525391 13734235 da0p2 (null) part 0x00 --> 0x600000000000c100 13734236 4194304 17928539 da0p3 (null) part 0x00 --> 0x600000000000c180 17928540 14044 17942583 - - unused 0x00 Where the first part is an UFS filesystem and the second part is swap. FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message