Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 13:51:10 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        kientzle@funkthat.com
Cc:        freebsd-current@freebsd.org
Subject:   bsdtar in ssh session...
Message-ID:  <20040818205110.GJ99980@funkthat.com>

next in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040818205110.GJ99980>