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 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