Subject: bin/142: nasty restore(8) bug
To: None <gnats-admin>
From: None <thomas@mathematik.uni-Bremen.de>
List: netbsd-bugs
Date: 02/28/1994 10:35:02
>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 (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 28 10:35:01 1994
>Originator: Thomas Eberhardt
>Organization:
CeVis, University of Bremen, Germany
>Release:
>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;
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------