On 7/27/20 10:21 PM, Clem Cole wrote:
try 1b for the blocking.
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 :).