Date: Mon, 3 Nov 2003 19:49:01 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk write_ia64_disk.c Message-ID: <200311040349.hA43n154056676@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/11/03 19:49:01 PST
FreeBSD src repository
Modified files:
lib/libdisk write_ia64_disk.c
Log:
o Save a copy of the GPT entries for which there's a chunk with an
index referencing it. We need to know the original type and name
so that we know what to put in the table when we reconstruct it.
o Clear the table entries before we rebuild it to avoid that we
end up with stale data.
o Sequentially populate the table entries from the chunks. For the
chunks that have an index (now referencing the saved copy) we
use the saved type and name. This way we can handle unknown types
better. In all cases we update the start and end LBAs.
Revision Changes Path
1.12 +55 -10 src/lib/libdisk/write_ia64_disk.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311040349.hA43n154056676>
