Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2023 12:36:57 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-git <freebsd-git@freebsd.org>
Subject:   Re: Working with forks
Message-ID:  <68EA9009-6956-4EF0-B3B6-0008BE076060@yahoo.com>
In-Reply-To: <f2788c32-cf0e-2634-0564-081a0fc54d23@gmail.com>
References:  <7e6a3a98-80a8-c787-fda5-65e924dbad34@gmail.com> <CAOtMX2h1tZ3oC0a%2BMbizW9xK4Ryt5AaPtA%2B1C3g%2BTO4=vYo65A@mail.gmail.com> <543e12ed-bc12-ee0e-4ddf-4423fe704d78@gmail.com> <CANCZdfqBUbbdLGdZJT55LdJvNuZ8okF50Xs0i7C1HbRSKsa43g@mail.gmail.com> <CANCZdfqON9z_sA4gc6=iwg3RXfNPs62ZmxUfuJcs1u3ib5n7yw@mail.gmail.com> <CANCZdfrQiC3%2BbsYchsU7wWk3psW-rJ4ZY_O=GJ0G5PtMKpZ9vw@mail.gmail.com> <f2788c32-cf0e-2634-0564-081a0fc54d23@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 9, 2023, at 10:34, Graham Perrin <grahamperrin@gmail.com> wrote:

> On 08/09/2023 05:37, Warner Losh wrote:
>=20
>> =E2=80=A6 I also never have a /usr/src on any of my systems. =E2=80=A6
>=20
> I learnt to restrict myself to /usr/doc, /usr/ports, and /usr/src =
after long ago confusion about where things normally reside.
>=20
> The 'git -C' habit sort of forces me to think twice about which tree I =
am (or should be) working with before entering any command.
>=20

I prefer to submit kernel problems based on having reproduced an
issue via use of, say, an official snapshot build's kernel when
I can. I reserve /usr/src/ for having such a snapshot's source
code where the snapshot's debug information expects it to be. The
/usr/src/ is not populated via git for this but via extracting
from files obtained via matches to the pattern:

http://ftp3.freebsd.org/pub/FreeBSD/snapshots/*/15.0-CURRENT/src.txz

/usr/src/ is empty unless I'm dealing with such snapshot testing
at the time.

For my own builds I have and use a worktree /usr/main-src for
main [so: 15] activity, for example. So the debug information
for my own builds does not reference /usr/src/ .

As part of this way of working I use git -C all the time. The
habit was established back when I was actively also building
and installing stable/13 and releng/13.? in addition to main.
I've kept the conventions's general structure, such that the
pattern for stable/ and releng/ based activity is still known.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68EA9009-6956-4EF0-B3B6-0008BE076060>