--- amanda-2.5.2p1/client-src/sendsize.c.xattrs 2007-05-15 20:14:58.000000000 +0200 +++ amanda-2.5.2p1/client-src/sendsize.c 2007-07-12 13:45:29.000000000 +0200 @@ -1863,7 +1863,7 @@ getsize_gnutar( 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); @@ -2006,6 +2006,7 @@ getsize_gnutar( 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.5.2p1/client-src/sendbackup-gnutar.c.xattrs 2007-07-12 13:43:28.000000000 +0200 +++ amanda-2.5.2p1/client-src/sendbackup-gnutar.c 2007-07-12 13:45:35.000000000 +0200 @@ -532,7 +532,7 @@ start_backup( 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(libexecdir, "/", "runtar", versionsuffix(), NULL); info_tapeheader(); @@ -568,6 +568,7 @@ start_backup( 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.5.2p1/dumper-src/amgtar.pl.in.xattrs 2007-05-04 13:38:51.000000000 +0200 +++ amanda-2.5.2p1/dumper-src/amgtar.pl.in 2007-07-12 12:33:42.000000000 +0200 @@ -150,7 +150,7 @@ sub command_estimate { 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 @@ print DEBUG "level =" . $level . "\n" 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);