On 7/27/20 10:47 PM, Will Senn wrote:
On 7/27/20 10:21 PM, Clem Cole wrote:
Hmm:
dd if=/dev/rrk0 of=ucbtar bs=1b
no space on dev 6/0
write: No space left on device
1175+0 records in
1175+0 records out
ls -l
-rw-rw-r-- 1 root 601088 Dec 31 19:41 ucbtar
df
bad free count, b=1
/dev/rp0 0
yeah, well no kidding, that file is WAY bigger than the file on
the host. so...
rm ucbtar (or bad things WILL happen with no space left)
set bs explicitly on the mac side of things
dd if=tar of=ucbtar bs=512 conv=sync
27+1 records in
28+0 records out
ls -l
-rwxr-x--- 1 wsenn staff 14156 Jul 27 22:32 tar
-rw-r--r-- 1 wsenn staff 14336 Jul 27 22:44 ucbtar
so back in v7:
set bs explicity and # blocks to read (otherwise it reads past
the size of the file, simh quirk?)
dd if=/dev/rrk0 of=ucbtar bs=512 count=28
28+0 records in
28+0 records out
# chmod 0755 ucbtar
# ls -l
total 28
-rwxr-xr-x 1 root 14336 Dec 31 19:47 ucbtar
# ./ucbtar x
tar: bin/ - cannot create
directory checksum error
echo $?
2
Haha, I'm learning, but I wanna cry :).
And the other copy of tar:
ucbtar x
Tar: blocksize = 20
tar: bin/ - cannot create
directory checksum error
# echo $?
2
Ah well, I'll pick it back up tomorrow. I remember doing this on v6.
I'm gonna see if I can dig up some old notes. Maybe I unpacked the
tar on the host and used simtools to repack as magtape... just seems
like this oughta work.
--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF