From: KenUnix <ken.unix.guy@gmail.com>
To: Jonathan Gray <jsg@jsg.id.au>
Cc: Noel Chiappa <jnc@mercury.lcs.mit.edu>, tuhs@tuhs.org
Subject: [TUHS] Re: Unix v7 icheck dup problem
Date: Sat, 4 Mar 2023 06:19:47 -0500 [thread overview]
Message-ID: <CAJXSPs9Q=b-u-pGZBbEYcjZM+Soq4NKZ3QsJ39rtvS_zfkwsYQ@mail.gmail.com> (raw)
In-Reply-To: <ZAMKPM2HYpl8M3r8@largo.jsg.id.au>
[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]
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 == 0 || stepsize == 0) {
step = superblk.s_dinfo[0];
cyl = superblk.s_dinfo[1];
}
else {
step = stepsize;
cyl = cylsize;
}
if(step > cyl || step <= 0 || cyl <= 0 || cyl > MAXCYL) {
error("Default free list spacing assumed\n");
step = STEPSIZE;
cyl = CYLSIZE;
}
superblk.s_dinfo[0] = step;
superblk.s_dinfo[1] = cyl;
clear(flg,sizeof(flg));
#define superblk sblk.b_un.b_fs
Ken
On Sat, Mar 4, 2023 at 4:07 AM Jonathan Gray <jsg@jsg.id.au> 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=misc:snippets:mert1
> https://www.tuhs.org/Archive/Distributions/USDL/CB_Unix/readme.txt
>
--
End of line
JOB TERMINATED
[-- Attachment #2: Type: text/html, Size: 2653 bytes --]
next prev parent reply other threads:[~2023-03-04 11:20 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 18:22 Noel Chiappa
2023-03-03 19:25 ` Chet Ramey
2023-03-03 21:26 ` John Cowan
2023-03-04 0:23 ` Chet Ramey
2023-03-03 19:35 ` Clem Cole
2023-03-04 2:45 ` Jonathan Gray
2023-03-03 23:00 ` Jonathan Gray
2023-03-04 9:07 ` Jonathan Gray
2023-03-04 11:19 ` KenUnix [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-06 8:14 Noel Chiappa
2023-03-06 8:58 ` Jonathan Gray
2023-03-07 2:05 ` Kenneth Goodwin
2023-03-04 14:41 Noel Chiappa
2023-03-04 14:49 ` KenUnix
2023-03-02 1:59 Noel Chiappa
2023-03-02 2:11 ` Dan Cross
2023-03-02 1:36 Noel Chiappa
2023-03-02 1:56 ` John Cowan
2023-03-02 6:41 ` Lars Brinkhoff
2023-03-02 2:12 ` Bakul Shah
2023-03-02 2:46 ` Rich Salz
2023-03-01 21:29 Noel Chiappa
2023-03-01 21:54 ` KenUnix
2023-03-01 21:55 ` John Cowan
2023-03-01 22:15 ` Jon Forrest
2023-03-02 4:16 ` Jonathan Gray
2023-03-01 15:09 Noel Chiappa
2023-03-01 16:18 ` Ron Natalie
2023-03-01 16:45 ` KenUnix
2023-03-01 16:57 ` Theodore Ts'o
2023-03-01 20:52 ` Dave Horsfall
2023-03-02 1:46 ` Jonathan Gray
2023-03-02 3:05 ` Dave Horsfall
2023-03-02 7:56 ` John Cowan
2023-03-02 8:53 ` Steve Nickolas
2023-03-02 8:01 ` Jonathan Gray
2023-03-02 7:34 ` arnold
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='CAJXSPs9Q=b-u-pGZBbEYcjZM+Soq4NKZ3QsJ39rtvS_zfkwsYQ@mail.gmail.com' \
--to=ken.unix.guy@gmail.com \
--cc=jnc@mercury.lcs.mit.edu \
--cc=jsg@jsg.id.au \
--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).