Date: Sat, 2 Nov 2002 04:14:04 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk disk.c Message-ID: <200211021214.gA2CE4OU026781@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/11/02 04:14:04 PST
Modified files:
lib/libdisk disk.c
Log:
Add support for GPT:
1. When the parition type is not an integer, try to parse the type
as an UUID. If that succeeds, map the UUID to chunk_e.
2. For GPT partitions, pass the type constructed in point 1 above
to Add_Chunk.
While here, fix the MBREXT case by only checking if the first 3
characters are MBR. This avoids duplication.
Revision Changes Path
1.101 +45 -5 src/lib/libdisk/disk.c
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?200211021214.gA2CE4OU026781>
