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=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28437 invoked from network); 2 Mar 2023 15:01:26 -0000 Received: from minnie.tuhs.org (2600:3c01:e000:146::1) by inbox.vuxu.org with ESMTPUTF8; 2 Mar 2023 15:01:26 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 10D1143BFA; Fri, 3 Mar 2023 01:01:20 +1000 (AEST) Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by minnie.tuhs.org (Postfix) with ESMTPS id B80D743BF9 for ; Fri, 3 Mar 2023 01:01:14 +1000 (AEST) Received: by mail-pl1-x62b.google.com with SMTP id p20so16602388plw.13 for ; Thu, 02 Mar 2023 07:01:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gYnJwDFv5X+W4OUbvAquA4aMy1YZq6DB1rEekcMbJ+o=; b=P9A02iLQ+FFL8ytsCuZ3T9kYmqQWhrsWCvFZURowNkBqfB5ChqyljgPhF8X5nAzpA2 cDDrynWD2oQcfbRlYdX1nRW4X8qPFc8WtdEXU7+sfXZEeL1IV19p4OvHaJ3QfGf/WEKL kWrtKdfZjudsey4wKpHsbc1JwkaJeDH4VpriXw12Fle9aWN0SBe8vyJYNaaRIeLjcAVF Y0xvtazeSk2O4ZVoxjGSi8OCyUy/t4PnY/CIYMm9M+i4TnVGaOdLpQcHBzHZqUXR7Lsn PbVlaTMyDZD4PPNfAhX72eciqCSHQ8T4JZZMGi+dQaLVR2z04tAjEtruNICKS66b9uU8 Fe/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gYnJwDFv5X+W4OUbvAquA4aMy1YZq6DB1rEekcMbJ+o=; b=0ktYI1PBiM/zzCpD94poTqHM1JU1e9XXzOP0odpolDrKkAcGExRImiyZAY2Tm1OFt8 Kk1LSkdygKTQCX6xCnI+zW6kR3R7HVIL/ha32/uugtxmmUxhoKT0UVDyaS8IGVMOsgMt HFi3HlvKaa8Xb5O2SDBId0JKWIn9Gx9w2u3ReYZcBEZ9Omr4gZRM34zaMTYePfl7bs8h Ndc34TdbnjpgCaOjOYsMeGJKqLw4eppRFnN4uAKBKdhLNBL6rqKRCZdfAXfhRLlaQrKy ple6sEl8BhprChxJphDRmh2xxXOXvX6Dywuk/gcnWQ+iU6zYMqtYoWM6ZQZCes9BPXHV F8nw== X-Gm-Message-State: AO0yUKVf9pGjMBl1ycs26lM8GJEmMB1u3CzDnxymUHFdGDMAevlyK2TZ gO3mIdj6RKFKeXWaizizVgn/f53CkmaxIiQylKc= X-Google-Smtp-Source: AK7set8iV7XFubudGIuN2zRnQuRoqDRGZVqYcTHAHPOHn5dket1kEgfVkp09S4mWBPfHdnqE3wttWCVrFpz6QnzHe+A= X-Received: by 2002:a17:902:6845:b0:19c:d14b:ee20 with SMTP id f5-20020a170902684500b0019cd14bee20mr3915242pln.8.1677769273702; Thu, 02 Mar 2023 07:01:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: KenUnix Date: Thu, 2 Mar 2023 10:00:56 -0500 Message-ID: To: Dan Cross Content-Type: multipart/alternative; boundary="00000000000092ff5a05f5ec19e3" Message-ID-Hash: KWGNZZAKH5AMKQVSELXP5CFXAQDFIJ52 X-Message-ID-Hash: KWGNZZAKH5AMKQVSELXP5CFXAQDFIJ52 X-MailFrom: ken.unix.guy@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: UNIX TUHS Group X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Unix v7 tape drive question List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --00000000000092ff5a05f5ec19e3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dan, Thanks, that did the trick. # dump date =3D Thu Mar 2 09:52:02 2023 dump date =3D the epoch dumping /dev/rrp3 to /dev/rmt1 I II estimated 24870 tape blocks on 0 tape(s) III IV level 9 dump on Thu Mar 2 09:52:02 2023 DONE 25228 tape blocks on 1 tape(s) And, I will change dump.c and dumpdir.c to use tm0. Ken On Thu, Mar 2, 2023 at 9:40=E2=80=AFAM Dan Cross wrote: > On Thu, Mar 2, 2023 at 9:28=E2=80=AFAM KenUnix w= rote: > > I am trying to use the 'dump' program but it references rmt1. > > > > My system only has rmt0. I have been unable to find how to > > create this device. I have looked over the reference material > > but it only references rmt0. > > > > Is there any way to redirect a dump to use rmt0? > > > > Any help is appreciated. > > I'd start with the man page. > > Dump(1M) says that argument `f` causes `dump` to, "Place the dump on > the next argument file instead of the tape". Did you try using that > option with `/dev/rmt0`? > > Alternatively, I don't see why you couldn't hard-link /dev/rmt1 to > /dev/rmt0: > > # cd /dev > # ln rmt1 rmt0 > > Or use `mknod` to create a device file with the same major/minor numbers: > > # cd /dev > # /etc/mknod rmt1 c 12 0 > > Or even, as a very last resort, edit the source and change the default > dump device. It's in /usr/src/cmd/dump.c > > Hope that helps! > > - Dan C. > --=20 End of line JOB TERMINATED --00000000000092ff5a05f5ec19e3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dan,

Thanks, that did the tr= ick.

# dump
=C2=A0 =C2=A0 =C2=A0date =3D Thu Ma= r =C2=A02 09:52:02 2023
dump date =3D the epoch
dumping /dev/rrp3 to = /dev/rmt1
I
II
estimated 24870 tape blocks on 0 tape(s)
III
= IV
level 9 dump on Thu Mar =C2=A02 09:52:02 2023
DONE
25228 tape b= locks on 1 tape(s)

And, I will change dump.c and d= umpdir.c to use tm0.

Ken

<= /div>
O= n Thu, Mar 2, 2023 at 9:40=E2=80=AFAM Dan Cross <crossd@gmail.com> wrote:
On Thu, Mar 2, 2023 at 9:28=E2=80=AFAM KenUnix= <ken.unix.g= uy@gmail.com> wrote:
> I am trying to use the 'dump' program but it references rmt1.<= br> >
> My system only has rmt0. I have been unable to find how to
> create this device. I have looked over the reference material
> but it only references rmt0.
>
> Is there any way to redirect a dump to use rmt0?
>
> Any help is appreciated.

I'd start with the man page.

Dump(1M) says that argument `f` causes `dump` to, "Place the dump on the next argument file instead of the tape". Did you try using that option with `/dev/rmt0`?

Alternatively, I don't see why you couldn't hard-link /dev/rmt1 to = /dev/rmt0:

# cd /dev
# ln rmt1 rmt0

Or use `mknod` to create a device file with the same major/minor numbers:
# cd /dev
# /etc/mknod rmt1 c 12 0

Or even, as a very last resort, edit the source and change the default
dump device.=C2=A0 It's in /usr/src/cmd/dump.c

Hope that helps!

=C2=A0 =C2=A0 =C2=A0 =C2=A0 - Dan C.


--
End of line
JOB TERMINATED<= /div>


--00000000000092ff5a05f5ec19e3--