On 7/27/20 10:02 PM, Will Senn wrote:
On 7/27/20 8:14 PM, Clem Cole wrote:
on v7:  dd if=/dev/rrkN of=ucbtar bs=1          <-- this should pull the binary with the padded last block in

Your instructions held up until I tried to read from the rk device - here's my attach:

in simh:
set rk0 rk05
att rk0 ucbtar

then in v7 the rk's aren't in /dev, so:

looked in c.c, rk is major dev 0, and rrk is dev 9, so...
/etc/mknod /dev/rk0 b 0 0
/etc/mknod /dev/rrk0 c 9 0
chmod 640 /dev/*rk*

and
dd if=/dev/rrk0 of=ucbtar bs=1
cannot open: /dev/rrk0

Look reasonable?

Will

OK. I remembered that I needed to recompile the kernel, so in addition to the above:

in v7:
chdir /usr/sys/conf
cc mkconf.c
mv a.out mkconf

echo rk >> myconf
cat myconf
hp
root hp 0
swap hp 1
swplo 0
nswap 8778
tm
4dc
rk

mkconf < myconf
console at 60
clock at 100
clock at 104
parity at 114
rk at 220
tm at 224
hp at 254
dc at 300
dc at 310
dc at 320
dc at 330
as - -o l.o l.s
cc -c c.c
ld -o unix -X -i l.o mch.o c.o ../sys/LIB1 ../dev/LIB2
mv unix /munix

rebooted and:
dd if=/dev/rrk0 of=ucbtar bs=1
read: Bad address
0+0 records in
0+0 records out