> >> can anyone confirm my observations with the attached test script?
> >>
> >> pax corrupts files if they contain more than 57 holes in it.
> >
> > <shelob:/tmp/test,8483>  uname -a
> > SunOS shelob 5.10 Generic_141414-02 sun4v sparc SUNW,Sun-Fire-T1000
> > <shelob:/tmp/test,8484>  ./paxtest.pl
> > ffbcc5af1a2923652b9d72fe2800ff21  testfile-58
> > ffbcc5af1a2923652b9d72fe2800ff21  n/testfile-58
> > 13.62u 1.96s 0:15.65 99.6%
> 
> Could you increase the number of holes in the perl script to some real large 
> value like 1024 or even higher? On x86 (Solaris 10 and snv133) the ok/error 
> limit was 57/58. Maybe the limit is higher on SPARC?

<shelob:/tmp/test,8495> diff -c paxtest.pl.orig paxtest.pl
*** paxtest.pl.orig     Sun Jun 13 15:06:16 2010
--- paxtest.pl  Sun Jun 13 16:05:48 2010
***************
*** 5,11 ****
  
  # 57 = Ok
  # 58 = Error
! $count = 58;
  
  $file = "testfile-$count";
  $cpdir = "n";
--- 5,13 ----
  
  # 57 = Ok
  # 58 = Error
! #$count = 58;
! my $count = shift;
! print "Count=$count\n";
  
  $file = "testfile-$count";
  $cpdir = "n";
Exit 1
<shelob:/tmp/test,8496> foreach f ( 128 256 512 1024 2048 4096 )
foreach? ./paxtest.pl $f
foreach? end
Count=128
608c6967f36b8b47e96d6e75dc4c9811  testfile-128
608c6967f36b8b47e96d6e75dc4c9811  n/testfile-128
30.17u 4.46s 0:34.64 99.9%
Count=256
83790d64ebc056739e32a510e252a87e  testfile-256
83790d64ebc056739e32a510e252a87e  n/testfile-256
60.06u 8.78s 1:08.85 99.9%
Count=512
98058bbedf8e24c51f98e78be559eacd  testfile-512
98058bbedf8e24c51f98e78be559eacd  n/testfile-512
119.98u 17.39s 2:17.38 99.9%
Count=1024
8e90f2ac85657b6c6c151667c2c648fc  testfile-1024
8e90f2ac85657b6c6c151667c2c648fc  n/testfile-1024
240.93u 34.63s 4:35.62 99.9%
Count=2048
da00d73985f7aa6949af95a4777a2b12  testfile-2048
da00d73985f7aa6949af95a4777a2b12  n/testfile-2048
507.78u 76.25s 9:45.69 99.7%

-- 
------------------------------------------------------------------------
Volker A. Brandt                  Consulting and Support for Sun Solaris
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim                     Email: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 45
Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to