[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cp giving input/output error
From: |
Paul Eggert |
Subject: |
Re: cp giving input/output error |
Date: |
Tue, 26 Jul 2005 08:13:17 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Campbell Smith, Peter" <address@hidden> writes:
> I am trying to copy a file using cp, and cp consistently returns status 256
> and error message 'input/output error'. It also takes much longer than I
> would expect -- about 30 seconds -- and produces the error message at the end
> of that time.
What does 'strace -o trace.tr cp old new' say? The trace.tr file will
tell you which system call is failing. Newer versions of 'cp' are a
bit more careful about checking system call status, so that might
explain why your older 'cp' didn't complain.