From owner-freebsd-current@FreeBSD.ORG Wed Sep 28 05:22:29 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 DA92216A41F for ; Wed, 28 Sep 2005 05:22:29 +0000 (GMT) (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 8C54743D48 for ; Wed, 28 Sep 2005 05:22:29 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id j8S5MMOZ092877; Tue, 27 Sep 2005 22:22:26 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <433A2882.4030003@freebsd.org> Date: Tue, 27 Sep 2005 22:22:10 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ed Maste References: <20050926195807.GD95971@sandvine.com> <17208.30606.117170.36398@khavrinen.csail.mit.edu> <20050927001650.GA9994@sandvine.com> <20050927180021.GB9994@sandvine.com> In-Reply-To: <20050927180021.GB9994@sandvine.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Garrett Wollman , freebsd-current@freebsd.org Subject: Re: Bsdtar and archive torture tests 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, 28 Sep 2005 05:22:30 -0000 Hmmm.... Looking at the internals of the generated archive shows that the extended attribute is definitely getting stored incorrectly. I'll look into this. If you see any other problems, please let me know! Tim Ed Maste wrote: > On Mon, Sep 26, 2005 at 08:16:50PM -0400, Ed Maste wrote: > > >>Hmm, good point. I haven't set it to anything; locale(1) shows >>that the LC_ variables are set to "C". So then I can see how this >>happens, but it's still surprising (to me) behaviour. > > > Ok, now I've definately encountered some non-obvious behaviour. > A symlink target of 100 bytes or less keeps the same name, while > a target of more than 100 bytes gets munged from the converstion > to UTF-8 and back. > > For example, the symlink created by the following script doesn't > change the link target: > > #!/bin/sh > fname=$(printf $(jot -b \\303\\240 -s '' 50)) > ln -fs $fname test > tar -cf - test | tar -tvf - > > but if the 50 in the jot command is changed to 51, the target > changes. So I guess that the link target doesn't fit in the > standard header anymore, and needs an extended tag. Having > different behaviour for the two cases does seem odd. > > -- > Ed Maste, Sandvine Incorporated > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >