Subject: Re: CVS commit: src/distrib/common
To: Luke Mewburn <lukem@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: source-changes
Date: 05/04/2004 08:48:46
On Tue, 04 May 2004, Luke Mewburn wrote:
> Modified Files:
> 	src/distrib/common: Makefile.makedev
> 
> Log Message:
> Remove "./dev type=dir" 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=dir
    ./foo type=dir uid=123 tags=tag1
    ./foo type=dir tags=tag2
    EOF

I would expect the output to be

    . type=dir
    ./foo type=dir uid=123 tags=tag1,tag2

bit it is actually

    . type=dir
    ./foo type=dir tags=tag2

--apb (Alan Barrett)