Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 1995 12:53:41 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com>
To:        fenner@parc.xerox.com (Bill Fenner)
Cc:        stable@freebsd.org
Subject:   Re: Confusing errors from mtree when building -stable
Message-ID:  <199510071953.MAA08707@GndRsh.aac.dev.com>
In-Reply-To: <95Oct7.112856pdt.177475@crevenia.parc.xerox.com> from "Bill Fenner" at Oct 7, 95 11:28:55 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I just sup'd -stable and started a "make world"; I got some interesting
> error messages from the mtree stage:
> 
> 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)
> missing: ./netiso (not created: File exists)
> missing: ./netns (not created: File exists)
> missing: ./nfs (not created: File exists)
> missing: ./sys (not created: File exists)
> missing: ./ufs (not created: File exists)
> missing: ./ufs/ffs (not created: File exists)
> missing: ./ufs/lfs (not created: File exists)
> missing: ./ufs/mfs (not created: File exists)
> missing: ./ufs/ufs (not created: File exists)
> missing: ./vm (not created: File exists)
> 
> mtree thinks it's missing but doesn't create it because it exists?  Pretty
> cool.

Mtree is currently confused by symbolic links and needs an -H option that
says if the spec says this should be a directory and you find a link follow
the link to see if it points to a directory, if it does then do the right
things about setting permissions.

Or something close to that.. carefull though needs to go into the
implementation of a -H option for mtree as interesting things might
happen if you had broken symbolic links are where not carefull with
how you handled it (IMHO, that case should cause an error more like:
missing: ./machine (not created: Broken symbolic link))

Anyone feel like tackling mtree and symbolic links....
-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                 Reliable computers for FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510071953.MAA08707>