Imagine you have a host S you do backups of remote hosts on (EG C), using an automounter.
Then your backups for C on S will likely internally include something like: /mymount/C/etc/passwd ...there's nothing magic or particularly relevant about /etc/passwd - it's just a well-known example path. If you later want to compare C's backup on C itself using tar --diff, then it seems reasonable to use something like: tar --show-transformed-names --strip-components=2 --diff ...to compare etc/passwd in the tar backup with /etc/passwd in the filesystem. However, this gives the following warning, one time, presumably for /mymount/C itself which has been stripped down to having no filename: tar: : Warning: Cannot stat: No such file or directory This has been an issue for a while; I'm just getting around to reporting it. I'm currently using: $ tar --version below cmd output started 2025 Sun Apr 27 03:01:59 PM PDT tar (GNU tar) 1.34 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. Thanks for the great tool. :)