Le dimanche 22 Janvier 2006 23:43, Craig Barratt a écrit :
> [...]
> Following up on the list for archive purposes.
>
> We debugged this offline and the problem is specific to >8GB
> files using smbclient or tar that are multiples of 256 bytes
> in size.  (Unfortunately my >8GB test cases were not multiples
>  of 256 in size.)
>
> The following patch fixes the problem.  I'll roll this into
> the next official patch.
>
> Craig
>
> --- BackupPC_tarExtract       2005-12-11 15:52:59.000000000 -0800
> +++ BackupPC_tarExtract.new   2006-01-12 11:57:58.859704000 -0800
> @@ -102,7 +102,7 @@
>  #                 Copyright 1998 Stephen Zander. All rights reserved.
>  #
>  my $tar_unpack_header
> -    = 'Z100 A8 A8 A8 A12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12';
> +    = 'Z100 A8 A8 A8 a12 A12 A8 A1 Z100 A6 A2 Z32 Z32 A8 A8 A155 x12';
>  my $tar_header_length = 512;
>
>  my $BufSize  = 1048576;     # 1MB or 2^20
>

I confirm your patch resolve a trouble i have seen last few days on AIX using 
tar method.

aix 5 + tar (GNU tar) 1.15.1
17809556 -rw-r--r--   1 toto  gtoto 18236979200 23 jan 23:15 Backupatoto.tar

this file of 17Go (multiple of 256) is perfectly backup using your patch.

thanks.
Michael.

-- 
Trois choses insupportables :
le café brûlant, le champagne tiède, et les femmes froides.
Orson Welles


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to