From owner-freebsd-stable@FreeBSD.ORG Mon Oct 9 07:28:43 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A89F516A47B for ; Mon, 9 Oct 2006 07:28:43 +0000 (UTC) (envelope-from hans@lambermont.dyndns.org) Received: from lambermont.dyndns.org (lambermont.dyndns.org [82.93.47.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AF3143D6D for ; Mon, 9 Oct 2006 07:28:39 +0000 (GMT) (envelope-from hans@lambermont.dyndns.org) Received: by lambermont.dyndns.org (Postfix, from userid 1001) id 29C9522DC00; Mon, 9 Oct 2006 09:28:38 +0200 (CEST) Date: Mon, 9 Oct 2006 09:28:38 +0200 To: Diomidis Spinellis Message-ID: <20061009072838.GG48167@leia.lambermont.dyndns.org> References: <200610081454.k98Eseas063823@lurza.secnetix.de> <4529612C.8000908@aueb.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4529612C.8000908@aueb.gr> User-Agent: Mutt/1.4.2.2i From: hans@lambermont.dyndns.org (Hans Lambermont) Cc: freebsd-stable@FreeBSD.ORG Subject: Re: scp -c none (was Re: NFS client slow on amd64 6.2-PRERELEASE #2) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 07:28:43 -0000 Diomidis Spinellis wrote: > You can also use ports/net/socketpipe. For example you can copy a > directory with: > > socketpipe -b -i { tar cf - directory } -l { ssh remotehost } -r > { tar xvf - } Just curious, what is the advantage of this approach to the following : tar cf - directory | ( ssh remotehost 'cd targetdir && tar xpf -' ) Something with buffering perhaps ? regards, Hans Lambermont