On Thu, 9 Nov 2000, John R. Jackson wrote:

> >> For now, how about:
> >> 
> >>   ln -s /bin/tar /usr/local/bin/gtar-for-amanda
> >> 
> >> on that client?
> >
> >Yeah, that's not a problem.  It's just that we would have to recompile
> >amanda on that client, which its owner would rather avoid.
> 
> I thought the symlink would avoid the recompile since both names would
> be available.  However I think I got the problem mixed up.  The problem is
> that amverify **on the server** sees /bin/tar in the header and doesn't
> deal with it because it doesn't match what it thinks tar is supposed
> to be.
> 
> And since you gave the server a "strange" name for tar (the two basenames
> do not match), I don't think 2.4.2 is going to help either.
> 
> In the doonefile() function in amverify, there is a long string of if/elif
> statements that figure out what program to use.  I think you'll need to
> add another one like this before the first reference to $DUMP:
> 
>                         elif [ X"$TAR" != X"" -a X"$2" = X"/bin/tar" ]; then
>                                 CMD=$TAR
>                                 ARGS="tf -"

Yeah.  Actually, I was planning something on the order of a substring
match for `tar'.

-- 
Nate Eldredge
HMC CS Staff
[EMAIL PROTECTED]

Reply via email to