cvs commit: src/lib/libdisk write_ia64_disk.c
Marcel Moolenaar
marcel at FreeBSD.org
Mon Nov 3 19:49:02 PST 2003
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
More information about the cvs-src
mailing list