From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7396 invoked from network); 4 Mar 2023 11:20:16 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 4 Mar 2023 11:20:16 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 40485412A9; Sat, 4 Mar 2023 21:20:11 +1000 (AEST) Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by minnie.tuhs.org (Postfix) with ESMTPS id BB4F141254 for ; Sat, 4 Mar 2023 21:20:05 +1000 (AEST) Received: by mail-pf1-x435.google.com with SMTP id y10so3027103pfi.8 for ; Sat, 04 Mar 2023 03:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677928805; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FEUZGNHK1LW0x6KrsP3yjKzAU7ORJtILFfWIFD+89tI=; b=ouCExSmx5X2DzIz0aayQtcFxmDaj3tGGNmpfqjFigv0B2sTzVvEQ3fXIGG/q1KYlsh CmSa04m9Ube1h17NzbIY+daWHlCPSS4Hpvm+0XOqkczsQEpSPv3A3O43cVsebEhVrlfl bN3d0rJofI4wzdbq2JIRLi9T0EKbzsJjmSztSERexkqc7QY+/W/e7syhejFzQu3fSBQd hko5cfpj+GviS7JSL9mJgk/LMKOvyIrxZzdyUjAV26oiUv+16Xg29T6jUH2P/se9u+Pc 0iBIk2OL/8dx96oILwany05jEM6rlWbm2YDhGFc5l2x3hWipNWz1SQeIJfT5LfOXmVMh J5XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677928805; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FEUZGNHK1LW0x6KrsP3yjKzAU7ORJtILFfWIFD+89tI=; b=VguQGR+B9SGSP8j44FVP0cV356WgsQJCwb2G6atnvcTq1FoHe7gmr/vNV4Dbqu3Eg6 nJwKtlhagAOO09tbyqgck6B40UBZBPagel/jnoRF8K4KBtj27ExFRnouyeTabEAb6PN8 xk+XAVbeSmiSVpzA0jgUJT6Uj8wIBKMtnVdL/gRLI390OkEq/na54k57bPRuldobsrJ8 OurY/ly+8ZVJlLtM/tm2qGhH2Fk6oAyzcW1H/lyRRDuUlXBbZOwaZp1yzZ7mB6h68zrk 2cJgxTV4oVzLtQe2teCIf9jLOuHZufnLioLVDVGqoOaVKTaN3aqis4ZmwnFt0UFiWUgT rNKQ== X-Gm-Message-State: AO0yUKXUDj9NrpkktBR7l0Mw9UzfYoGZpPNsXLYZU+VBTQSqOAfp+EZY CZTf4aPgJIm8fzS+9nNKxUCyq4mbpyG7cirIRdZoeTH7a/A= X-Google-Smtp-Source: AK7set+7Jn4NruYL2+v5yeVvXnokh4PzKj0LhPogxm7elSojOHhmi06B/+vDMqZUtWbBAWPEPIqDmogpHL8fSEGL084= X-Received: by 2002:a62:f801:0:b0:5eb:e0e0:d650 with SMTP id d1-20020a62f801000000b005ebe0e0d650mr2103260pfh.6.1677928804769; Sat, 04 Mar 2023 03:20:04 -0800 (PST) MIME-Version: 1.0 References: <20230303182200.B951918C08D@mercury.lcs.mit.edu> In-Reply-To: From: KenUnix Date: Sat, 4 Mar 2023 06:19:47 -0500 Message-ID: To: Jonathan Gray Content-Type: multipart/alternative; boundary="0000000000005de70005f6113ecf" Message-ID-Hash: UEMJCOJ44FQNFA5HEFEZCN5VT6WDQDBO X-Message-ID-Hash: UEMJCOJ44FQNFA5HEFEZCN5VT6WDQDBO X-MailFrom: ken.unix.guy@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Noel Chiappa , tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Unix v7 icheck dup problem List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --0000000000005de70005f6113ecf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable After downloading fsck.c from v7addenda.tar.gz this happens: w fsck.c 33044 q # cc fsck.c fsck.c:1441: s_dinfo undefined; func. makefree fsck.c:1441: Illegal structure ref fsck.c:1441: Incompatible structures fsck.c:1442: Illegal structure ref fsck.c:1442: Incompatible structures fsck.c:1453: s_dinfo undefined; func. makefree fsck.c:1453: Illegal structure ref fsck.c:1453: Incompatible structures fsck.c:1454: Illegal structure ref fsck.c:1454: Incompatible structures fsck.c lines of interest 1440-1455: #define superblk sblk.b_un.b_fs if(cylsize =3D=3D 0 || stepsize =3D=3D 0) { step =3D superblk.s_dinfo[0]; cyl =3D superblk.s_dinfo[1]; } else { step =3D stepsize; cyl =3D cylsize; } if(step > cyl || step <=3D 0 || cyl <=3D 0 || cyl > MAXCYL) { error("Default free list spacing assumed\n"); step =3D STEPSIZE; cyl =3D CYLSIZE; } superblk.s_dinfo[0] =3D step; superblk.s_dinfo[1] =3D cyl; clear(flg,sizeof(flg)); #define superblk sblk.b_un.b_fs Ken On Sat, Mar 4, 2023 at 4:07=E2=80=AFAM Jonathan Gray wrote: > On Fri, Mar 03, 2023 at 01:22:00PM -0500, Noel Chiappa wrote: > > > From: Jonathan Gray > > > > > That is close, but slightly different to the PWB fcheck.c > > > > Interesting. I wonder how 'fcheck' made it from CMU to Bell? Clem and I > > discussed how it made it from CMU to MIT, and we think it was via Wayne > > Gramlich, who'd been an undergrad at CMU, and then went to grad school > at MIT. > > fcheck is from Hal Pierson at Bell according to > > https://wiki.tuhs.org/doku.php?id=3Dmisc:snippets:mert1 > https://www.tuhs.org/Archive/Distributions/USDL/CB_Unix/readme.txt > --=20 End of line JOB TERMINATED --0000000000005de70005f6113ecf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After downloading fsck.c from v7addenda.tar.gz this h= appens:

w fsck.c
33044
q
# cc fsck.c
f= sck.c:1441: s_dinfo undefined; func. makefree
fsck.c:1441: Illegal struc= ture ref
fsck.c:1441: Incompatible structures
fsck.c:1442: Illegal st= ructure ref
fsck.c:1442: Incompatible structures
fsck.c:1453: s_dinfo= undefined; func. makefree
fsck.c:1453: Illegal structure ref
fsck.c:= 1453: Incompatible structures
fsck.c:1454: Illegal structure ref
fsck= .c:1454: Incompatible structures

fsck.c lines of i= nterest 1440-1455:

#define superblk sblk.b_un= .b_fs

if(cylsize =3D=3D 0 || stepsize =3D= =3D 0) {
step =3D superblk.s_dinfo[0];
cyl =3D superblk.s_dinfo[1= ];
}
else {
step =3D stepsize;
cyl =3D cylsize;
}
= if(step > cyl || step <=3D 0 || cyl <=3D 0 || cyl > MAXCYL) {<= br> error("Default free list spacing assumed\n");
step =3D = STEPSIZE;
cyl =3D CYLSIZE;
}
superblk.s_dinfo[0] =3D step;
= superblk.s_dinfo[1] =3D cyl;
clear(flg,sizeof(flg));
#define superblk sblk.b_un.b_fs

Ken


On Sat, Mar 4, 2023 at 4:07=E2=80=AFAM Jonathan Gray = <jsg@jsg.id.au> wrote:
=
On Fri, Mar 03, 2023 at 0= 1:22:00PM -0500, Noel Chiappa wrote:
>=C2=A0 =C2=A0 =C2=A0> From: Jonathan Gray
>
>=C2=A0 =C2=A0 =C2=A0> That is close, but slightly different to the P= WB fcheck.c
>
> Interesting. I wonder how 'fcheck' made it from CMU to Bell? C= lem and I
> discussed how it made it from CMU to MIT, and we think it was via Wayn= e
> Gramlich, who'd been an undergrad at CMU, and then went to grad sc= hool at MIT.

fcheck is from Hal Pierson at Bell according to

https://wiki.tuhs.org/doku.php?id=3Dmisc:snip= pets:mert1
https://www.tuhs.org/Archive/Distr= ibutions/USDL/CB_Unix/readme.txt


--
End of line
JOB TERMINATED<= /div>


--0000000000005de70005f6113ecf--