[Gllug] Why won't tar access a remote device?
Nix
nix at esperi.org.uk
Mon Mar 13 08:33:18 UTC 2006
On Sun, 12 Mar 2006, John Winters announced authoritatively:
> I use tar on the machine with the files, accessing the tape drive by
> means of tar's inbuilt remote device access, piggy-backed onto ssh. The
> thing is - I can't see what it is that tar thinks is failing. The
> following is a (very short) strace of what tar does and I can't see why
> it thinks things have gone wrong. It doesn't even seem to think about
> trying to access the remote machine - it just says, "Won't". Can anyone
> see why?
I concur.
Unfortunately without knowing what the command line was, debugging by
looking at the source is very difficult, but I'd guess that an errno
initialization and syscall was skipped for some reason, and then tar
checked that errno was zero, leading to, well, nonsense.
I recommend compiling tar with debugging and breakpointing on strerror()
and __strerror_r() inside libc. :)
--
`Come now, you should know that whenever you plan the duration of your
unplanned downtime, you should add in padding for random management
freakouts.'
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list