Subject: Re: CVS commit: src/distrib/common
To: Alan Barrett <>
From: Luke Mewburn <>
List: source-changes
Date: 05/05/2004 16:25:47
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 04, 2004 at 08:48:46AM +0200, Alan Barrett wrote:
  | On Tue, 04 May 2004, Luke Mewburn wrote:
  | > Modified Files:
  | > 	src/distrib/common: Makefile.makedev
  | >=20
  | > Log Message:
  | > Remove "./dev type=3Ddir" entry from generated devices.spec, as it
  | > causes the ownership of ${.OBJDIR}/work/dev to be used in the image
  | > instead of that from the earlier entry in work.spec.
  | I think it's a bug that "mtree -C" does not merge multiple lines
  | for the same file.
  | For example, given
  |     mtree -C -K all -f - <<EOF
  |     . type=3Ddir
  |     ./foo type=3Ddir uid=3D123 tags=3Dtag1
  |     ./foo type=3Ddir tags=3Dtag2
  |     EOF
  | I would expect the output to be
  |     . type=3Ddir
  |     ./foo type=3Ddir uid=3D123 tags=3Dtag1,tag2
  | bit it is actually
  |     . type=3Ddir
  |     ./foo type=3Ddir tags=3Dtag2

That's actually by (current) design.

I have a (private) patch that enabled "merging" of entries
that don't have children (i.e, populated directories), that
I whipped up for testing out solutions to the "using symlinks
instead of directories" issue that various people run into
with /etc/mtree/special.  I should chase that up again.

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (NetBSD)