From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 03:26:39 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291AD106567C for ; Wed, 2 Jul 2008 03:26:39 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0449D8FC1D for ; Wed, 2 Jul 2008 03:26:38 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from [10.0.0.128] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id m623QPtv038647; Tue, 1 Jul 2008 20:26:28 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <486AF561.70201@freebsd.org> Date: Tue, 01 Jul 2008 20:26:25 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de> <1214815958.3581.67.camel@localhost> <486901FB.5080308@freebsd.org> <1214842042.8768.12.camel@localhost> <4869C4C4.1050806@freebsd.org> <1214900266.1947.13.camel@localhost> <486A53AD.9090904@freebsd.org> <1214930730.1898.3.camel@localhost> In-Reply-To: <1214930730.1898.3.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: cpio -dumpl damages the files? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2008 03:26:39 -0000 Vladimir Grebenschikov wrote: > On Tue, 2008-07-01 at 08:56 -0700, Tim Kientzle wrote: > >>Try adding the following to the above condition: >> >> && archive_entry_filetype(entry) != AE_IFLNK > > I guess it will work. I just wander about other AE_IF* that may not pass > link(2). Perhaps cpio -dumpl should only try to hardlink regular files? That would be an easy change. Tim