Thanks for reporting that. I installed the following
patch into GNU tar:
From 24980ce3c6e01ce43cdccd5d1f693c9838e447ed Mon Sep 17 00:00:00 2001
From: Paul Eggert
Date: Mon, 7 Mar 2011 15:40:32 -0800
Subject: [PATCH] --atime-preserve=replace: fix correctness and performance bugs
reported by Eri
On Mon, Mar 07, 2011 at 04:43:30PM +0100, Corinna Vinschen wrote:
>On Mar 7 08:07, Eric Blake wrote:
>> [adding bug-tar]
>>
>> On 03/07/2011 07:43 AM, Corinna Vinschen wrote:
>> > THis looks like a tar bug, per the strace. For some reason, if the
>> > file is empty, tar calls futimens on file de
On Mar 7 08:07, Eric Blake wrote:
> [adding bug-tar]
>
> On 03/07/2011 07:43 AM, Corinna Vinschen wrote:
> > THis looks like a tar bug, per the strace. For some reason, if the
> > file is empty, tar calls futimens on file descriptor 0 (which is
> > connected to /dev/tty1 in my case), while it ca
[adding bug-tar]
On 03/07/2011 07:43 AM, Corinna Vinschen wrote:
>>> Of course the empty.tar is created as expected (ie identical as without
>>> `--atime-preserve). The warning is not produced on Solaris, Darwin or
>>> Linux,
>>> therefore i contacted this list. Do you think, with your expertise,
On Mar 7 07:32, Eric Blake wrote:
> On 03/07/2011 07:20 AM, EXCOFFIER Denis wrote:
> > Hello,
> >
> > I've the experienced the following (100% reproducible under 1.7.7-1 or
> > 1.7.8-1):
> >
> > % cp /dev/null empty
>
> Why not the much simpler:
>
> : > empty
>
> > % tar cf empty.tar --atime-
On 03/07/2011 07:20 AM, EXCOFFIER Denis wrote:
> Hello,
>
> I've the experienced the following (100% reproducible under 1.7.7-1 or
> 1.7.8-1):
>
> % cp /dev/null empty
Why not the much simpler:
: > empty
> % tar cf empty.tar --atime-preserve empty
> /usr/bin/tar: empty: Cannot utime: Invalid a
Hello,
I've the experienced the following (100% reproducible under 1.7.7-1 or
1.7.8-1):
% cp /dev/null empty
% tar cf empty.tar --atime-preserve empty
/usr/bin/tar: empty: Cannot utime: Invalid argument
/usr/bin/tar: Exiting with failure status due to previous errors
%
Of course the empty.tar i
7 matches
Mail list logo