Vendor Imports

Cy Schubert Cy.Schubert at cschubert.com
Wed Dec 16 16:09:08 UTC 2020


In message <CANCZdfpbZeiPamfX+z-85WWAo7TA5P36T_qEUCQ-VoQdjh+yOw at mail.gmail.c
om>
, Warner Losh writes:
> --0000000000002f35bf05b6945830
> Content-Type: text/plain; charset="UTF-8"
>
> On Wed, Dec 16, 2020 at 1:12 AM Cy Schubert <Cy.Schubert at cschubert.com>
> wrote:
>
> > Can we extrapolate that multilevel vendor trees, those with
> > subdirectories,
> > would need a cp -R or rsync?
> >
>
> It would.
>
>
> > The example shown says:
> >
> > % cd ../mtree
> > % cp ~/git/NetBSD/usr.sbin/mtree/* .
> > %
> >
> > cp -R would be appropriate for more complex software like openssl,
> > unbound,
> > and the like. Is this correct?
> >
>
> Yes. You're right. rsync with delete has been suggested, but I've not had
> time to update the example.

Except that rsync duplicates hard link relationships whereas cp -R copies 
them as if they are independent files in their own right. An rsync without 
the -a or -H options should be suggested. Or does git treat hard links to 
the same file as different files? (Meaning I'm talking through my hat?)


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy at nwtime.org>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.




More information about the freebsd-git mailing list