|
|
|
|
|
|
| Author |
Message |
rb *nix forums beginner
Joined: 01 Apr 2005
Posts: 11
|
Posted: Sun Nov 06, 2005 2:38 am Post subject:
Re: Restore from tape
|
|
|
peter@aldie.co.uk (Peter Ilieve) writes:
| Quote: | In article <kx964ra4na2.fsf@panix5.panix.com>, rb <rb@panix.com> wrote:
I use an Octane with 6.5.22 - trying to use Restore to restore a file
from tape, I get the error:
/usr/sbin/Restore[96]: syntax error at line 126 : `}' unexpected
|
[...]
| Quote: | I diffed the 6.5.22 and 6.5.28 versions of Restore and the
only difference is that the 6.5.22 one is missing a 'fi'
after line 101. Either manually add a line containing fi
or apply this patch:
|
Thank-you very much, that fixed it.
-- |
|
| Back to top |
|
 |
Peter Ilieve *nix forums beginner
Joined: 04 Nov 2005
Posts: 1
|
Posted: Fri Nov 04, 2005 1:04 pm Post subject:
Re: Restore from tape
|
|
|
In article <kx964ra4na2.fsf@panix5.panix.com>, rb <rb@panix.com> wrote:
| Quote: | I use an Octane with 6.5.22 - trying to use Restore to restore a file
from tape, I get the error:
/usr/sbin/Restore[96]: syntax error at line 126 : `}' unexpected
...
I see that this error was fixed in Irix 6.5.26, to which I have no
access. Is there some way I can learn how to properly edit
/usr/sbin/Restore or otherwise get a working version?
|
I diffed the 6.5.22 and 6.5.28 versions of Restore and the
only difference is that the 6.5.22 one is missing a 'fi'
after line 101. Either manually add a line containing fi
or apply this patch:
*** Restore-6.5.22 Fri Nov 04 12:55:17 GMT 2005
--- Restore Fri Nov 04 12:55:31 GMT 2005
***************
*** 99,104 ****
--- 99,105 ----
dd if=$TP bs=256k count=1 > /tmp/$$type 2>/dev/null
else
rsh guest@$HN -n dd if=$TP bs=256k count=1 > /tmp/$$type 2>/dev/null
+ fi
LANG=C ttype="`file /tmp/$$type`"
case "$ttype" {
*bru*) echo Backup is a bru archive
--
Peter Ilieve peter@aldie.co.uk |
|
| Back to top |
|
 |
rb *nix forums beginner
Joined: 01 Apr 2005
Posts: 11
|
Posted: Wed Nov 02, 2005 11:56 pm Post subject:
Restore from tape
|
|
|
I use an Octane with 6.5.22 - trying to use Restore to restore a file
from tape, I get the error:
/usr/sbin/Restore[96]: syntax error at line 126 : `}' unexpected
I fooled around trying to edit the file to make the error go away, but I
only create other errors - I am an end user, I don't know how to write
scripts.
I see that this error was fixed in Irix 6.5.26, to which I have no
access. Is there some way I can learn how to properly edit
/usr/sbin/Restore or otherwise get a working version?
Thank you very much for any help.
-- |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 2:06 pm | All times are GMT
|
|
MPAA | Online Advertising | Fast Loans | Mortgages | Money News
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|