question re:scp

Damien Miller djm at mindrot.org
Fri Feb 9 13:19:06 EST 2001


On Thu, 8 Feb 2001 tatjana.svizensky at arcs.ac.at wrote:

> > The problem is with:
> > 
> > inuyasha:/mnt/vortex/backup # scp ttsrvun1:/mnt/storage/backup/zditf2usrusers.dump .
> > zditf2usrusers.dump    0% |                             |     0       --:-- ETA
> > protocol error: expected control record
> > Write failed flushing stdout buffer.
> > write stdout: Broken pipe
> > 
> > where strace has the following to say at this point:
> > fstat64(6, {st_mode=S_IFIFO|0600, st_size=1, ...}) = 0
> > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
> > _llseek(6, 0, 0xbfffebc4, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
> > 
> > so the correct fstat for files >2G is taken, but llseek instead of llseek64.

Someone needs to implement support for the (ugly IMO) llseek64 interface
in openssh. Anyone?

-d


-- 
| Damien Miler <djm at mindrot.org> \ ``E-mail attachments are the poor man's 
| http://www.mindrot.org         /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list