xfs
[Top] [All Lists]

Re: xfsdump with rmt

To: linux-xfs@xxxxxxxxxxx
Subject: Re: xfsdump with rmt
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Mon, 17 Sep 2001 02:00:35 -0800
In-reply-to: <20010917013726.M2522@xxxxxxxxxxxxxxx>; from erbenson@xxxxxxxxxx on Mon, Sep 17, 2001 at 01:37:26AM -0800
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <20010916230730.K2522@xxxxxxxxxxxxxxx> <Pine.SGI.4.40.0109171714220.339461-100000@xxxxxxxxxxxxxxxxxxxxxx> <20010917013726.M2522@xxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Mon, Sep 17, 2001 at 01:37:26AM -0800, Ethan Benson wrote:
> 
> another question, why is xfsdump trying to call `rsh hostname uname' ? 
> 
> AFAICT from a brief look at the code it checks whether the remote host
> is either IRIX or Linux and if niether it warns and continues anyway?
> whats the point?

ok looking further i found where this is used in rmtioctl.c.  i just
worked around it by creating an rsh wrapper that echos `Linux' when
its given the uname command.  

that code probably should not hard code rsh though, it should use $RSH
if its set.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpXabRsEV0L1.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>