From owner-freebsd-current Wed Aug 9 19:47:39 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id TAA12216 for current-outgoing; Wed, 9 Aug 1995 19:47:39 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id TAA12209 for ; Wed, 9 Aug 1995 19:47:26 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id MAA14267; Thu, 10 Aug 1995 12:44:17 +1000 Date: Thu, 10 Aug 1995 12:44:17 +1000 From: Bruce Evans Message-Id: <199508100244.MAA14267@godzilla.zeta.org.au> To: fredriks@mcs.com, rgrimes@gndrsh.aac.dev.com Subject: Re: mtree confused? Cc: freebsd-current@freebsd.org Sender: current-owner@freebsd.org Precedence: bulk >> mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include >> missing: ./machine (not created: File exists) >> missing: ./net (not created: File exists) >> missing: ./netccitt (not created: File exists) >> missing: ./netinet (not created: File exists) >> >> >> Now, how come the file can be both missing and exsisting??? They are missing as directories. The -d option says to ignore everything except directory-type files. `mtree -eU -f' would say that that they have the wrong type (and not descend into them). >The fix to this is not real easy, but should be something like adding >a -H option that says follow symlinks when doing the tree traversal. Then mtree would be adjusting another part of the tree. >Bruce, do you see other solutions to this problem, or is what I state above >infact the right way to fix this? I just removed the non-directories from the spec. They need to be links for development. Bruce