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 | > | > 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 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.
Attachment:
pgppSTXbEzzs9.pgp
Description: PGP signature