Date: Sun, 1 Dec 2002 17:42:03 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/gpt create.c gpt.c map.h migrate.c show.c Message-ID: <200212020142.gB21g3P3096545@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/12/01 17:42:03 PST
Modified files:
sbin/gpt create.c gpt.c map.h migrate.c show.c
Log:
o Newer EFI implementations require that a GPT is preceeded by
a PMBR. Make sure the create command creates a PMBR as well
(if not already present).
o When parsing the MBR, explicitly check for a PMBR and create
a PMBR map node if one is found.
o When parsing the MBR, recurse to handle extended partitions.
This allows us to flatten nested MBRs when migrating to a
GPT.
o Have the migrate command bail out if it encounters a partition
it doesn't know how to migrate. This avoids data loss.
o Change the output of the show command so that the UUIDs of the
GPT partitions fit on the same line.
o Show when partitions are extended partitions and add the PMBR
type.
Approved by: re (blanket)
Revision Changes Path
1.5 +35 -0 src/sbin/gpt/create.c
1.6 +85 -43 src/sbin/gpt/gpt.c
1.3 +1 -0 src/sbin/gpt/map.h
1.5 +9 -4 src/sbin/gpt/migrate.c
1.5 +23 -8 src/sbin/gpt/show.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?200212020142.gB21g3P3096545>
