Daniel Novotny 6aa2a5
--- amanda-2.6.0b2/dumper-src/amgtar.pl.xattrs	2008-01-17 17:31:20.000000000 -0700
Daniel Novotny 6aa2a5
+++ amanda-2.6.0b2/dumper-src/amgtar.pl	2008-02-18 16:09:26.000000000 -0700
Daniel Novotny 6aa2a5
@@ -150,7 +150,7 @@
Daniel Novotny 6aa2a5
 sub command_estimate_opt_direct {
Daniel Novotny 6aa2a5
    my($config, $host, $disk, $device, $level, $listdir) = @_;
Daniel Novotny 6aa2a5
    my($size) = -1;
Daniel Novotny 6aa2a5
-   my(@cmd) = ($runtar, $config, $gnutar, "--create", "--directory", $device, "--listed-incremental", "${gnulist}/${listdir}_${level}.new", "--sparse", "--one-file-system", "--ignore-failed-read", "--totals", "--file", "/dev/null", ".");
Daniel Novotny 6aa2a5
+   my(@cmd) = ($runtar, $config, $gnutar, "--create", "--directory", $device, "--listed-incremental", "${gnulist}/${listdir}_${level}.new", "--sparse", "--xattrs", "--one-file-system", "--ignore-failed-read", "--totals", "--file", "/dev/null", ".");
Daniel Novotny 6aa2a5
    #my(@cmd) = ($gnutar, "--create", "--directory", $device, "--listed-incremental", "${gnulist}/${listdir}_${level}.new", "--sparse", "--one-file-system", "--ignore-failed-read", "--totals", "--file", "/dev/null", ".");
Daniel Novotny 6aa2a5
    print DEBUG "cmd:" , join(" ", @cmd), "\n" if ($debug == 1);
Daniel Novotny 6aa2a5
    open3(\*WTRFH, '>&STDOUT', \*ESTIMATE, @cmd);
Daniel Novotny 6aa2a5
@@ -215,7 +215,7 @@
Daniel Novotny 6aa2a5
    if(defined($opt_index)) {
Daniel Novotny 6aa2a5
       $verbose = "--verbose";
Daniel Novotny 6aa2a5
    }
Daniel Novotny 6aa2a5
-   my(@cmd) = ($runtar, $config, $gnutar, "--create", $verbose, "--directory", $device, "--listed-incremental", "${gnulist}/${listdir}_${level}.new", "--sparse", "--one-file-system", "--ignore-failed-read", "--totals", "--file", "-", ".");
Daniel Novotny 6aa2a5
+   my(@cmd) = ($runtar, $config, $gnutar, "--create", $verbose, "--directory", $device, "--listed-incremental", "${gnulist}/${listdir}_${level}.new", "--sparse", "--xattrs", "--one-file-system", "--ignore-failed-read", "--totals", "--file", "-", ".");
Daniel Novotny 6aa2a5
    #my(@cmd) = ($gnutar, "--create", $verbose, "--directory", $device, "--listed-incremental", "${gnulist}/${listdir}_${level}.new", "--sparse", "--one-file-system", "--ignore-failed-read", "--totals", "--file", "-", ".");
Daniel Novotny 6aa2a5
 
Daniel Novotny 6aa2a5
    print DEBUG "cmd:" , join(" ", @cmd), "\n" if ($debug == 1);
Daniel Novotny 6aa2a5
--- amanda-2.6.0b2/client-src/sendsize.c.xattrs	2008-01-29 07:43:12.000000000 -0700
Daniel Novotny 6aa2a5
+++ amanda-2.6.0b2/client-src/sendsize.c	2008-02-18 16:11:20.000000000 -0700
Daniel Novotny 6aa2a5
@@ -1820,7 +1820,7 @@
Daniel Novotny 6aa2a5
     if(nb_exclude > 0) file_exclude = build_exclude(disk, amdevice, options, 0);
Daniel Novotny 6aa2a5
     if(nb_include > 0) file_include = build_include(disk, amdevice, options, 0);
Daniel Novotny 6aa2a5
 
Daniel Novotny 6aa2a5
-    my_argv = alloc(SIZEOF(char *) * 22);
Daniel Novotny 6aa2a5
+    my_argv = alloc(SIZEOF(char *) * 23);
Daniel Novotny 6aa2a5
     i = 0;
Daniel Novotny 6aa2a5
 
Daniel Novotny 6aa2a5
     gnutar_list_dir = getconf_str(CNF_GNUTAR_LIST_DIR);
Daniel Novotny 6aa2a5
@@ -1956,6 +1956,7 @@
Daniel Novotny 6aa2a5
     my_argv[i++] = "--atime-preserve";
Daniel Novotny 6aa2a5
 #endif
Daniel Novotny 6aa2a5
     my_argv[i++] = "--sparse";
Daniel Novotny 6aa2a5
+    my_argv[i++] = "--xattrs";
Daniel Novotny 6aa2a5
     my_argv[i++] = "--ignore-failed-read";
Daniel Novotny 6aa2a5
     my_argv[i++] = "--totals";
Daniel Novotny 6aa2a5
 
Daniel Novotny 6aa2a5
--- amanda-2.6.0b2/client-src/sendbackup-gnutar.c.xattrs	2008-01-17 17:31:16.000000000 -0700
Daniel Novotny 6aa2a5
+++ amanda-2.6.0b2/client-src/sendbackup-gnutar.c	2008-02-18 16:12:46.000000000 -0700
Daniel Novotny 6aa2a5
@@ -524,7 +524,7 @@
Daniel Novotny 6aa2a5
 	if(nb_exclude > 0) file_exclude = build_exclude(disk, amdevice, options, 0);
Daniel Novotny 6aa2a5
 	if(nb_include > 0) file_include = build_include(disk, amdevice, options, 0);
Daniel Novotny 6aa2a5
 
Daniel Novotny 6aa2a5
-	my_argv = alloc(SIZEOF(char *) * (22 + (nb_exclude*2)+(nb_include*2)));
Daniel Novotny 6aa2a5
+	my_argv = alloc(SIZEOF(char *) * (23 + (nb_exclude*2)+(nb_include*2)));
Daniel Novotny 6aa2a5
 
Daniel Novotny 6aa2a5
 	cmd = vstralloc(amlibexecdir, "/", "runtar", versionsuffix(), NULL);
Daniel Novotny 6aa2a5
 	info_tapeheader();
Daniel Novotny 6aa2a5
@@ -565,6 +565,7 @@
Daniel Novotny 6aa2a5
 	my_argv[i++] = "--atime-preserve";
Daniel Novotny 6aa2a5
 #endif
Daniel Novotny 6aa2a5
 	my_argv[i++] = "--sparse";
Daniel Novotny 6aa2a5
+	my_argv[i++] = "--xattrs";
Daniel Novotny 6aa2a5
 	my_argv[i++] = "--ignore-failed-read";
Daniel Novotny 6aa2a5
 	my_argv[i++] = "--totals";
Daniel Novotny 6aa2a5