Date: Sat, 2 Nov 2002 04:24:56 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> 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> In-Reply-To: <200211021145.gA2Bjs7K024194@repoman.freebsd.org> References: <200211021145.gA2Bjs7K024194@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021102122456.GB1417>