From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29886 invoked from network); 28 Jul 2020 03:49:26 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 28 Jul 2020 03:49:26 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 778619CAA6; Tue, 28 Jul 2020 13:49:20 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 75B6D9C8E8; Tue, 28 Jul 2020 13:48:04 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="q+xvd+yS"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id DEC9A9C8E4; Tue, 28 Jul 2020 13:48:00 +1000 (AEST) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by minnie.tuhs.org (Postfix) with ESMTPS id C0CE09C8E2 for ; Tue, 28 Jul 2020 13:47:59 +1000 (AEST) Received: by mail-ot1-f53.google.com with SMTP id t7so128009otp.0 for ; Mon, 27 Jul 2020 20:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=iamWd/TYQt2Q2C5no2BsVDTeQvAPXxwI0sPd4Y/JJ+Y=; b=q+xvd+yStgoTqHgi3YnfH92KrgSpeM/RUEgeunDO5SG1XkBC4a//VpwAnaZZakByg8 yCnB5sWUd7w8AdqY2CvSg9dFvnITb2CJOYS9K0hmP1n2LmSVb+FG4U+YZueytn/4V7Sl oJF/nH+GenRea0ePKZyQMsLWMWwP+FJruuNkVQV3+hDDVoUV9wKtbP0klc1LGJn690WR pcXlcT7qp1YRbZHQeSnI1VD63kTF6O4qO2LKJyLqorlU3gVyD6tBIqEGkvT731RkE0/p TuuzPIXPql9FHLtepXVUUzS/TkXen4ip2Yz3GMFvFj79tNQgfoxs9gJgcCGHZuhx0kWB KXjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=iamWd/TYQt2Q2C5no2BsVDTeQvAPXxwI0sPd4Y/JJ+Y=; b=XdSl1Dvzp4GZgEC6a7riXZqk5MEm3gbO0BJ7a+71KdSkZwApAwIc5ixAF3O+DX5hYs tTRirJ0FRzQiyhx91+yZHxyP1z1dbD3V26LllThL3I7hL8XvH0pOwcbe5FX/Sa47g5Gy 2n172KTnwAMK/Oc76MXrTZFtiiBfG6tUSQXdCITdEsjqHsTPHMLCBxEmh4wf2y5+1M9/ A50GOuHRS4i9BLeMGFOGuk4HYhb8ct4mSGlWJ+AukAIQVEsSBQrVCCJnMAAx0jgruODK H7mTJqNr113KnBUxwP408H81KfsC+1afzCAmqoSdX8hVg5+h50CH80LlkXYcm0Kfax11 iQvw== X-Gm-Message-State: AOAM533z9T9DpQn9fY/8mr5SXaTVgD+oYuSPzSM8SkuRE2AE1/qKMWrB aqvd1yUcVp98QP1Qp3IL3eC7bVtRPUE= X-Google-Smtp-Source: ABdhPJwi+VGhf1/pdfzH2SyU1iFUwDerCMHtkPDl9htx9LBkk7VQY66nqVROUyrRKZPO0AKlYHghZw== X-Received: by 2002:a9d:654b:: with SMTP id q11mr22475648otl.248.1595908078581; Mon, 27 Jul 2020 20:47:58 -0700 (PDT) Received: from terra.local (99-139-148-170.lightspeed.rcsntx.sbcglobal.net. [99.139.148.170]) by smtp.gmail.com with ESMTPSA id j9sm2913326otc.69.2020.07.27.20.47.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jul 2020 20:47:58 -0700 (PDT) To: Clem Cole References: <7b892386-6856-6bb8-9d87-a628645ecf19@gmail.com> From: Will Senn Message-ID: <5d2dd1bb-4c4e-6799-47f5-12faae521eb0@gmail.com> Date: Mon, 27 Jul 2020 22:47:57 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------9A94D1367A9E23DCB6F8918C" Content-Language: en-US Subject: Re: [TUHS] v7 tar and 2bsd.tar X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: TUHS main list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This is a multi-part message in MIME format. --------------9A94D1367A9E23DCB6F8918C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 :). --------------9A94D1367A9E23DCB6F8918C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
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 :).




--------------9A94D1367A9E23DCB6F8918C--