ast@cs.vu.nl (Andy Tanenbaum) (07/14/88)
: This is a shar archive. Extract with sh, not csh.
: This archive ends with exit, so do not worry about trailing junk.
: --------------------------- cut here --------------------------
PATH=/bin:/usr/bin:/usr/ucb
echo Extracting 'fsck.c.cdif'
sed 's/^X//' > 'fsck.c.cdif' << '+ END-OF-FILE ''fsck.c.cdif'
X*** /local/ast/minix/tape3a/tools/fsck.c Sat Sep 26 00:01:59 1987
X--- fsck.c Wed Jul 13 14:46:52 1988
X***************
X*** 1864,1870 ****
X case 'h':
X get_partition();
X drive = (partition < PARB ? 0x80 : 0x81);
X! cylsiz = 85; /* sectors per cylinder */
X tracksiz = 17;
X printf("Checking hard disk. %s\n", answer);
X if (read_partition() < 0) continue;
X--- 1864,1870 ----
X case 'h':
X get_partition();
X drive = (partition < PARB ? 0x80 : 0x81);
X! cylsiz = 68; /* sectors per cylinder */
X tracksiz = 17;
X printf("Checking hard disk. %s\n", answer);
X if (read_partition() < 0) continue;
+ END-OF-FILE fsck.c.cdif
chmod 'u=rw,g=r,o=r' 'fsck.c.cdif'
set `wc -c 'fsck.c.cdif'`
count=$1
case $count in
634) :;;
*) echo 'Bad character count in ''fsck.c.cdif' >&2
echo 'Count should be 634' >&2
esac
echo Extracting 'ttys'
sed 's/^X//' > 'ttys' << '+ END-OF-FILE ''ttys'
X100
+ END-OF-FILE ttys
chmod 'u=rw,g=r,o=r' 'ttys'
set `wc -c 'ttys'`
count=$1
case $count in
7) :;;
*) echo 'Bad character count in ''ttys' >&2
echo 'Count should be 7' >&2
esac
exit 0