From owner-cvs-all@FreeBSD.ORG Mon Nov 3 19:49:02 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0377616A4CE; Mon, 3 Nov 2003 19:49:02 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C94743FB1; Mon, 3 Nov 2003 19:49:01 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA43n1XJ056677; Mon, 3 Nov 2003 19:49:01 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA43n154056676; Mon, 3 Nov 2003 19:49:01 -0800 (PST) (envelope-from marcel) Message-Id: <200311040349.hA43n154056676@repoman.freebsd.org> From: Marcel Moolenaar Date: Mon, 3 Nov 2003 19:49:01 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libdisk write_ia64_disk.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 03:49:02 -0000 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