On Mon, Jun 02, 2014 at 14:55:24 -0400, Jean-Louis Martineau wrote:
> Sure, it is better to write:
> property "NORMAL" ": directory is on a different filesystem; not dumped"
I noticed that this change was included in the Amanda source:
http://sourceforge.net/p/amanda/code/5764/
http://sourceforge.net/p/amanda/code/5765/
However, it looks like the corresponding change wasn't made to the amgtar
man page; a patch to do that is attached.
Also, is there some reason this same NORMAL RE wasn't added to the
sendclient-gnutar.c file? I assume many sites now have client machines
running GNU tar 1.27 or later, but are are still using 'program
"GNUTAR"' dumptypes and thus don't have an easy way to manually
add this message to the NORMAL list.
Anyway, also attached is a patch to do that.
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - [email protected] - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239
diff --git a/man/xml-source/amgtar.8.xml b/man/xml-source/amgtar.8.xml
index 557e563..d6690a4 100644
--- a/man/xml-source/amgtar.8.xml
+++ b/man/xml-source/amgtar.8.xml
@@ -132,6 +132,7 @@ List all regex (POSIX Extended Regular Expression syntax) that are normal output
": File .* shrunk by [0-9][0-9]* bytes, padding with zeros"
": Cannot add file .*: No such file or directory$"
": Error exit delayed from previous errors"
+ ": directory is on a different filesystem; not dumped"
</programlisting>
<para>To treat one of these default patterns differently, specify it explicitly in a different property.</para>
</listitem></varlistentry>
diff --git a/client-src/sendbackup-gnutar.c b/client-src/sendbackup-gnutar.c
index 176b948..857d787 100644
--- a/client-src/sendbackup-gnutar.c
+++ b/client-src/sendbackup-gnutar.c
@@ -48,6 +48,9 @@ static amregex_t re_table[] = {
AM_NORMAL_RE("^Elapsed time:"),
AM_NORMAL_RE("^Throughput"),
+ /* GNU tar 1.27 */
+ AM_NORMAL_RE(": directory is on a different filesystem; not dumped"),
+
/* GNU tar 1.13.17 will print this warning when (not) backing up a
Unix named socket. */
AM_NORMAL_RE(": socket ignored$"),