bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Problem with fstatat on AIX 7.1


From: Paul Eggert
Subject: Re: [Bug-tar] Problem with fstatat on AIX 7.1
Date: Mon, 05 Sep 2011 22:08:56 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13

OK, thanks, I think we've gotten past the openat issues.
The remaining issues in that test case are not something
that we can easily fix for AIX 7.1.  It's an unusual torture
test that you won't typically run across in real life, so
let's take a quick look at the other failing tests.

I've created another tarball at
<http://cs.ucla.edu/%7Eeggert/tar-1.26-experimental.tar.gz>
dated 2011-09-06 05:01 UTC; please give it a try.  If our
past experience is a guide, this should fail test 38 (scarce
file descriptors), test 57 (incremental dump when the
parent directory is unreadable), and test 97
(storing sparse files > 8G).  Test 57 is another torture test
and I think I know why it fails in AIX (fstatat doesn't work
and there's no good workaround if you can't read the parent
directory).  But I'm not sure why test 97 should fail so let's
see what the problem is.

Assuming my guess about test failures above is correct,
if you could put the following into a shell script FOO
(with 'tar' and 'genfile' replaced by absolute paths)
and then run "truss -f -o tr sh FOO", we might be able
to figure it out.

#!/bin/sh
genfile --length 1000 --file begin
genfile --length 1000 --file end
genfile --sparse --file sparsefile --block-size 512 8G A || AT_SKIP_TEST
tar -c -f archive --sparse begin sparsefile end || exit 1
echo separator

tar tfv archive
echo separator
mkdir directory
tar Cxf directory archive
genfile --stat=name,size sparsefile
cmp sparsefile directory/sparsefile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]