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