The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Warner Losh <imp@bsdimp.com>
To: segaloco <segaloco@protonmail.com>
Cc: Paul Ruizendaal <pnr@planet.nl>,
	The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: [TUHS] Re: V8 4BSD or 32V Based? (was: Unix V8 Chaosnet, any takers?)
Date: Fri, 15 Jul 2022 11:50:51 -0600	[thread overview]
Message-ID: <CANCZdfqOgxf9ZFQCQ=O1BcMoHU+yZivAhzmCwWOUmwX_gW=DFA@mail.gmail.com> (raw)
In-Reply-To: <2hK72A6Itq5yUS4eqzueKuU8hSC1JCR3XQbiHWTXnp-VS1V-eItyJ1gscCj2QR-0knXF7ukWVBxxzrC6e4TaN86l_2WAYK1eGrae2cskPb4=@protonmail.com>

[-- Attachment #1: Type: text/plain, Size: 2226 bytes --]

On Fri, Jul 15, 2022 at 11:15 AM segaloco via TUHS <tuhs@tuhs.org> wrote:

> Re-subject'd as this part of the conversation diverges.
>
> Found the quote that I was thinking of when I said that:
>
> https://yarchive.net/comp/bsd.html
>
> "Research Unix 8th Edition started from (I think) BSD 4.1c, but with
> enormous amounts scooped out and replaced by our own stuff." - Dennis
> Ritchie
>
> The "I think" adds some murkiness for sure.  There's definitely a good
> chunk of code from 4BSD.  Compare init, getty, locore.c (as opposed to .s
> in V7 back).  Heck, even the main.c between the two kernels are more
> similar to each other than V7.  I would almost opt towards calling that
> being rebased on 4BSD rather than V7 with bits and pieces of BSD added.  I
> could see it being more beneficial to start with 4BSD and tack on necessary
> Bell bits rather than take V7/32V and try and shoehorn in the VM
> implementation for VAX.
>
> The 4.1cBSD copy on the archive does appear to be pretty different, so in
> terms of raw comparison, I suspect the basis is 4BSD rather than 4.1cBSD.
> I don't know that we have a clean copy of 4.1BSD gold, I'd be interested to
> see if the structure of the source code changed between 4.1 and 4.1c, as
> 4.1c does exhibit the new organization by the BSD folks, 4BSD still shows
> folders like cmd, lib, and so on.
>
> Not trying to be combative by any means, but I've been doing a bit of
> research lately into when V8 was snapped from BSD and where Bell and
> Berkeley then diverged from that last major confluence, especially with a
> focus on init and other early stages of userland.
>

The biggest differences between BSD4.1 and BSD4.1c were the addition of FFS
in 4.1b (we have 4.1a from Kirk's DVD, as well as 4.1 and two versions of
4.1c). There's no ufs that I can detect in V8 though.

If we look at the vm, the 4.1c.2 files are from 83, the 4.1 files are from
80 and the v8 files are from 81.

Kirk's DVD has a 4.1.snap on it that lines up more closely with at least
the vm files. I don't recall what these files are from. It's not present in
the TUHS archives that I see. This snapshot is about a year after 4.1BSD
release, but maybe 18 months before the 4.1a snapshot.

Warner

[-- Attachment #2: Type: text/html, Size: 2778 bytes --]

  reply	other threads:[~2022-07-15 17:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 17:15 [TUHS] " segaloco via TUHS
2022-07-15 17:50 ` Warner Losh [this message]
2022-07-15 18:41   ` [TUHS] " segaloco via TUHS
2022-07-16  9:31 ` Paul Ruizendaal
2022-07-16 10:31   ` Rob Pike
2022-07-16 19:27 Paul Ruizendaal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANCZdfqOgxf9ZFQCQ=O1BcMoHU+yZivAhzmCwWOUmwX_gW=DFA@mail.gmail.com' \
    --to=imp@bsdimp.com \
    --cc=pnr@planet.nl \
    --cc=segaloco@protonmail.com \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).