From owner-freebsd-stable@freebsd.org Tue Aug 23 07:18:42 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F835BC3BB6 for ; Tue, 23 Aug 2016 07:18:42 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 460D91295 for ; Tue, 23 Aug 2016 07:18:42 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.81.13]) by kabab.cs.huji.ac.il with esmtp id 1bc5yl-000A1I-DC; Tue, 23 Aug 2016 10:18:35 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Problems with piped tar From: Daniel Braniss In-Reply-To: <96b7f57f-74ac-9445-1d04-61327ab111dc@ze.tum.de> Date: Tue, 23 Aug 2016 10:18:36 +0300 Cc: freebsd-stable Content-Transfer-Encoding: quoted-printable Message-Id: References: <96b7f57f-74ac-9445-1d04-61327ab111dc@ze.tum.de> To: schmidt@ze.tum.de X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 07:18:42 -0000 > On 23 Aug 2016, at 10:06, Gerhard Schmidt wrote: >=20 > Hi, >=20 > i'm quite often use tar to copy files using >=20 > tar cf - /some/dir | (cd /dest/dir; tar xvvf - ) the =E2=80=98new=E2=80=99 way: tar cf - /some/dir | tar xvvd - -C /dest/dir which of course does not explain way your version hangs, but this one is = cleaner, and btw, don=E2=80=99t include /. >=20 > the files are copied without a problem but the reading tar never > terminates and so the whole command never terminates. >=20 > This is new since FreeBSD 10. >=20 > Regards > Estartu >=20 >=20 > --=20 > ---------------------------------------------------------- > Gerhard Schmidt | E-Mail: schmidt@ze.tum.de > Technische Universit=C3=A4t M=C3=BCnchen | Jabber: estartu@ze.tum.de > WWW & Online Services | > Tel: +49 89 289-25270 | PGP-PublicKey > Fax: +49 89 289-25257 | on request > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"