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_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16210 invoked from network); 22 Aug 2022 16:57:32 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 22 Aug 2022 16:57:32 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 87CCD40D5E; Tue, 23 Aug 2022 02:57:28 +1000 (AEST) Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) by minnie.tuhs.org (Postfix) with ESMTPS id AD49A40D39 for ; Tue, 23 Aug 2022 02:57:21 +1000 (AEST) Received: by mail-vk1-f176.google.com with SMTP id b81so5865932vkf.1 for ; Mon, 22 Aug 2022 09:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=dqNnxYeobxsme1gWU8ae+zBQgHYEDg0R8fZUPldTvjQ=; b=6Xop+oHw/LGSgBBksKDY1X/0D42zM3YMiG7V2zRgOvpTQz1OSb/+QyEyPhQhPhcBFJ e+0fi79xK0lDZr5wUsZHZ7lvqjy375d+S8XtRQPszGn5sU9OVPtRy/Cq1A2A9GnkSyqD QPU3l0blvGdUGp1T5ahnLq1SpLVhr40bPXR71HkbV5bBMCj9ytQevbVvpYegP1f015Vo 4hR77r8yXrtK8FVFU2i5SNX3FuVHT3HlTiU/MV8Q/eqVTL41/K5cWnlXvepNPdNIM9jH tfAe/mX7eM53GYLnBf1CQk9gREbEzE4D6NOAdU72RNf3AjO5Ws83RFWt8iKquYlbxv3j ruyg== 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; bh=dqNnxYeobxsme1gWU8ae+zBQgHYEDg0R8fZUPldTvjQ=; b=zmAYGz1k+RF9qdjLSvRjJgSM9YsfOr2aleezq8bNxzvJnmUterNIrbwVK2h6LZE7bk DZrR+ligvSUl5vQVJdt1VkCz4iO3HzO62Jx+niq6O2OC2++kHEmu1bV9w8fNOPQg7nyx 68ux7Eitbn+oY+MhYaikJ6T9W4aV4s/aCW4iPgRJGYZ3WyMRCa/gRxzO7qQbIrtjA5fZ 3gHq1BrJBDXeiB2RldatqZ9R3W5Dc4PKZ4og3oKZ3IZuJhAm3wwK+93tsbtAqHp//R3C B3971WIv5H/JBiAGSHvwrxnzvTAjWR7/1wQE6miMYgSbnH3MrMTd2bHRQhoXD8jXUIRm 049A== X-Gm-Message-State: ACgBeo2AWMGqI7T18wKlXRkXMd1M24S4dxuYt98trgQ/5aZ35LaFaaWn 3tdEnqKMjTjTd6K3Dq/DMlg99tyBoR6bz50GwPKMNx9syxFe4A== X-Google-Smtp-Source: AA6agR7XiY4xxx0eeJbeY0WJsf2YD08CSY3XNryZE3xV/eGP2QM+VVhySJVLfN5k3a9yyClWDJhtCLykxjNxa0rgszM= X-Received: by 2002:a05:6122:178a:b0:380:c120:6760 with SMTP id o10-20020a056122178a00b00380c1206760mr7770558vkf.7.1661187380513; Mon, 22 Aug 2022 09:56:20 -0700 (PDT) MIME-Version: 1.0 References: <7w7d30jnp1.fsf@junk.nocrew.org> <9CB31023-9485-4BE8-9B1F-2A6165044BE4@iitbombay.org> In-Reply-To: <9CB31023-9485-4BE8-9B1F-2A6165044BE4@iitbombay.org> From: Warner Losh Date: Mon, 22 Aug 2022 10:56:09 -0600 Message-ID: To: Bakul Shah Content-Type: multipart/alternative; boundary="000000000000b8a7da05e6d75331" Message-ID-Hash: M4N5QHUQRK76WLR76HPN35KEMOHRC6YP X-Message-ID-Hash: M4N5QHUQRK76WLR76HPN35KEMOHRC6YP X-MailFrom: wlosh@bsdimp.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Extracting files from various old dump/restore tapes List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --000000000000b8a7da05e6d75331 Content-Type: text/plain; charset="UTF-8" On Mon, Aug 22, 2022 at 10:53 AM Bakul Shah wrote: > On Aug 22, 2022, at 9:27 AM, Warner Losh wrote: > > > > FreeBSD deleted some compat code in the kernel some time ago, and it > turns > > out that restore used that to read old dump tapes, so we broke old dump > tapes. > > So you can't use FreeBSD's unmodified. > > May be run an older release that has this code? > That only works if the dinode structures line up exactly to whatever these tapes are from. The 16-bit ones likely need to use the V7 restore (maybe running in emulation in simh), the 32-bit ones might be able to use V32 or 4BSD running in emulation, if that's what the tapes are from. But the multi-endian suggests that maybe things are more complex than that. FreeBSD's restore from older releases might work, but only for the 32-bit stuff and only if we're lucky... Warner --000000000000b8a7da05e6d75331 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Aug 22, 2022 at 10:53 AM Baku= l Shah <bakul@iitbombay.org&g= t; wrote:
On Aug= 22, 2022, at 9:27 AM, Warner Losh <imp@bsdimp.com> wrote:
>
> FreeBSD deleted some compat code in the kernel some time ago, and it t= urns
> out that restore used that to read old dump tapes, so we broke old dum= p tapes.
> So you can't use FreeBSD's unmodified.

May be run an older release that has this code?

That only works if the dinode structures line up exactly to whatev= er these tapes
are from. The 16-bit ones likely need to use the V= 7 restore (maybe running in
emulation in simh), the 32-bit ones m= ight be able to use V32 or 4BSD running in
emulation, if that'= ;s what the tapes are from. But the multi-endian suggests=C2=A0 that
<= div>maybe things are more complex than that.

FreeB= SD's restore from older releases might work, but only for the 32-bit st= uff and
only if we're lucky...

Warne= r
--000000000000b8a7da05e6d75331--