--- Begin Message ---
Subject: |
Bug#475879: tar --compare gives error warnings when file does not exist |
Date: |
Sun, 13 Apr 2008 17:35:19 +0200 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080227) |
Package: tar
Version: 1.16-2etch1
I like to report what I believe is a bug in the current stable version
of tar.
I want to compare an old archive with the current file system. According
to the documentation the --diff or --compare option should give for any
none existing file:
"""
file: does not exist
"""
Instead I get
address@hidden / $ tar --diff --file archive.tar
tar: directory/xxx.jpg: Warning: Cannot stat: No such file or directory
which is an error message, because if I pipe ordinary output to
/dev/null I still get it:
address@hidden / $ tar --diff --file archive.tar > /dev/null
tar: directory/xxx.jpg: Warning: Cannot stat: No such file or directory
I run Debian stable with a self made kernel:
address@hidden / $ uname -a
Linux server 2.6.18-6 #1 Sun Jan 20 22:38:09 CET 2008 i686 GNU/Linux
and libc6:
address@hidden / $ dpkg -s libc6 | grep ^Version
Version: 2.3.6.ds1-13etch5
With kind regards,
Paul Gevers
--- End Message ---