Subject: Re: "build.sh -u" vs. "build.sh -U -u": METALOG handling after UPDATE...
To: NetBSD-current Discussion List <current-users@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 08/29/2003 17:26:16
On Fri, 29 Aug 2003, Greg A. Woods wrote:
> How does the mtree code (used in pax) handle multiple entries for the
> same target file in the METALOG file?

The last entry for a particular directory/file wins.

The entire metalog is parsed into a data structure using code identical
to that used by mtree(1) itself, and then pax walks that data structure
to do the real work.

--apb (Alan Barrett)