NetBSD Problem Report #142
From gnats Mon Feb 28 10:21:48 1994
Received: from forte (forte.mathematik.uni-Bremen.de [134.102.232.1]) by sun-lamp.cs.berkeley.edu (8.6.5/8.6.5) with ESMTP id KAA14092 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 28 Feb 1994 10:19:56 -0800
Message-Id: <199402281818.TAA11658@forte>
Date: Mon, 28 Feb 1994 19:18:24 +0100
From: thomas@mathematik.uni-Bremen.de
Reply-To: thomas@mathematik.uni-Bremen.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: nasty restore(8) bug
X-Send-Pr-Version: 3.2
>Number: 142
>Category: bin
>Synopsis: restore(8) doesn't accept any tapes after the first one
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 28 10:35:01 +0000 1994
>Closed-Date: Tue Mar 01 00:17:17 +0000 1994
>Last-Modified: Sun Mar 03 17:49:38 +0000 2013
>Originator: Thomas Eberhardt
>Release:
>Organization:
CeVis, University of Bremen, Germany
>Environment:
System: NetBSD ed209 0.9a ED209#0 i386
Machine: i386
>Description:
restore(8) didn't accepted any tapes after the first one while
I was trying to restore my root/usr file system:
Mount tape volume 2
Enter ``none'' if there are no more tapes
otherwise enter tape name (default: /dev/rst0) <return>
Wrong volume (2)
>How-To-Repeat:
Dump a filesystem that needs more than one tape and try to restore it.
>Fix:
*** tape.c- Wed Dec 22 12:12:48 1993
--- tape.c Mon Feb 28 18:59:02 1994
***************
*** 373,379 ****
volno = 0;
goto again;
}
! if (spcl.c_volume != volno) {
fprintf(stderr, "Wrong volume (%d)\n", tmpbuf.c_volume);
volno = 0;
goto again;
--- 373,379 ----
volno = 0;
goto again;
}
! if (tmpbuf.c_volume != volno) {
fprintf(stderr, "Wrong volume (%d)\n", tmpbuf.c_volume);
volno = 0;
goto again;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Mon Feb 28 16:17:17 PST 1994
State-Changed-Why:
patch verified and applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.