* Tim Kientzle <[EMAIL PROTECTED]> [080512 00:19]: > Good guess, but I don't think that explains anything, since > the order in which hardlinked files get stored doesn't matter.
My guess is that the order readdir returns them implies which file is stored as regular file and which is stored as hard link. Usually the f_ file is stored as regular file and the l_ file as hardlink. But on my filesystem the l_ file is stored as regular file and the f_ file as hardlink. > The reference to 92-characters in that test refers to the length > of the filename not including the directory portion. What the testcase (at least in 2.4.17 which I looked yet at) does, is to check there are f_ filenames up to length 100 and l_ and m_ filenames up to length 91. But the unpackad directory contains only a l_ file of name length 92 but no f_ file: $ ls ustar/original/?_*z*z*z*l ustar/original/d_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl ustar/original/l_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl ustar/original/s_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl > Have you had a chance to try the libarchive 2.5.3b package? > I've fixed a subtle issue with handling almost-too-long filenames > in ustar format (which doesn't appear to explain the problems > you're having) and also reworked a couple of the tests to give > more information. Maybe that would shed additional light on > this problem. I had yet only tested with 2.4.17. With 2.5.3b I get a different failure: 2: test_copy tar/test/test_copy.c:99: Assertion failed Condition: fd >= 0 Description: Couldn't open "f_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl": No such file or directory tar/test/test_copy.c:149: Assertion failed: Ints not equal 0=0 stat(filename, &st2)=-1 Description: Couldn't stat s_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl tar/test/test_copy.c:181: Assertion failed Condition: strlen(p) < 92 Description: strlen(p) = 94 tar/test/test_copy.c:186: Assertion failed Condition: strlen(p) < 100 Description: strlen(p)=100 tar/test/test_copy.c:99: Failed 8 times tar/test/test_copy.c:149: Failed 8 times tar/test/test_copy.c:181: Failed 8 times Again the ustar archive only contains l_ and not f_ file: $ tar -tf /tmp/bsdtar_test.2008-05-12T12.30.25-000/test_copy/ustar/archive | grep '_[a-y]*z[a-y]*z[a-y]*z[a-k]*l\>' original/s_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl -> f_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl original/l_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl original/d_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl/ Hochachtungsvoll, Bernhard R. Link -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]