[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.9 Controlling Warning Messages
Sometimes, while performing the requested task, GNU tar
notices
some conditions that are not exactly errors, but which the user
should be aware of. When this happens, tar
issues a
warning message describing the condition. Warning messages
are output to the standard error and they do not affect the exit
code of tar
command.
GNU tar
allows the user to suppress some or all of its warning
messages:
- ‘--warning=keyword’
Control display of the warning messages identified by keyword. If keyword starts with the prefix ‘no-’, such messages are suppressed. Otherwise, they are enabled.
Multiple ‘--warning’ messages accumulate.
The tables below list allowed values for keyword along with the warning messages they control.
Keywords controlling tar
operation
Keywords applicable for tar --create
- cachedir
- file-shrank
- xdev
- file-ignored
‘%s: Unknown file type; file ignored’
‘%s: socket ignored’
‘%s: door ignored’- file-unchanged
- ignore-archive
- file-removed
- file-changed
‘%s: file changed as we read it’
Keywords applicable for tar --extract
- timestamp
‘%s: implausibly old time stamp %s’
‘%s: time stamp %s is %s s in the future’- contiguous-cast
- symlink-cast
- unknown-cast
- ignore-newer
- unknown-keyword
‘Ignoring unknown extended header keyword `%s'’
Keywords controlling incremental extraction:
- rename-directory
‘%s: Directory has been renamed from %s’
‘%s: Directory has been renamed’- new-directory
- xdev
- bad-dumpdir
‘Malformed dumpdir: 'X' never used’
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |