From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 20:51:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC01E16A4CE for ; Wed, 18 Aug 2004 20:51:12 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2CED43D41 for ; Wed, 18 Aug 2004 20:51:12 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 5398 invoked from network); 18 Aug 2004 20:51:12 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 18 Aug 2004 20:51:12 -0000 Received: from hydrogen.funkthat.com (onkdqt@localhost.funkthat.com [127.0.0.1])i7IKpAuU057181; Wed, 18 Aug 2004 13:51:11 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i7IKpANL057180; Wed, 18 Aug 2004 13:51:10 -0700 (PDT) Date: Wed, 18 Aug 2004 13:51:10 -0700 From: John-Mark Gurney To: kientzle@funkthat.com Message-ID: <20040818205110.GJ99980@funkthat.com> Mail-Followup-To: kientzle@funkthat.com, freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: freebsd-current@freebsd.org Subject: bsdtar in ssh session... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 20:51:12 -0000 I found out recently that if you do something like: ssh freebsdhostwbsdtar tar -cf - / > /dev/null and then in the middle of the tar, hit ctrl-c, then bsdtar on the FreeBSD host will not exit, instead it's parent will become init, and it will continue on trying to create the archive... It will ignore the EPIPE error, assuming that the write was successful and continue on.. It appears that gtar is is seeing EPIPE and just loops hoping that write will be successful in the future (which it never will be)... Neither are good solutions.... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."