[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 13:25:34 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Campbell Smith, Peter" <address@hidden> writes:
>> From: Paul Eggert [mailto:address@hidden
>> What does 'strace -o trace.tr cp old new' say?
>
> It gives about 240kbyte of trace info, ending with the following:
> ...
> read(3, "\1\1\367\6LVAL\0\0\0\0\2\0\274\10\t\7\0\0\0\0\0\0\0\0\0"..., 4096) =
> 4096
> write(4, "\1\1\367\6LVAL\0\0\0\0\2\0\274\10\t\7\0\0\0\0\0\0\0\0\0"..., 4096)
> = 4096
> read(3, 0xbfffe740, 4096) = -1 EIO (Input/output error)
> write(2, "cp: ", 4) = 4
> write(2, "reading `/smbfs/aravis/idtsales/"..., 76) = 76
> write(2, ": Input/output error", 20) = 20
It looks like "cp" is doing the right thing, then: the operating system
is reporting an I/O error, and "cp" is passing that along to you.
There may be a bug in the operating system, or in the file system
code, or something like that; but that would most likely be outside of
coreutils's purview.