How do I compile RCP with support for very large files?
I have an Intel P4, with a Gentoo 2004.3 and with a 2.4.28-gentoo-r8
kernel compiled with support for large files. When I use rcp to transfer a
large file (3 GB) on a different machine I get a file too large.
However, I can scp exactly the
On Fri, 25 Mar 2005, Radu Filip wrote:
As a quick workaround, I copied over a scp binary from a RH 9 (and it
worked!), but I really hate to patch Gentoo this way in the future.
Huh? scp comes with ssh - why did you need to copy it from a RH9 machine?
And why not just use scp instead of rcp
On Fri, 25 Mar 2005, A. Khattri wrote:
On Fri, 25 Mar 2005, Radu Filip wrote:
As a quick workaround, I copied over a scp binary from a RH 9 (and it
worked!), but I really hate to patch Gentoo this way in the future.
Huh? scp comes with ssh - why did you need to copy it from a RH9 machine?
Errata:
I was looking into the RPM SPEC for RCP on RedHat 9 and I saw these
options:
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
Then I re-emerged net-misc/netkit-rsh with:
CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
emerge net-misc/netkit-rsh
all went
If scp/rcp handle large files improperly, because of (the lack of)
compilation options, this seems like a bug to me. Report it at
http://bugs.gentoo.org/ along with your findings. This is the best way
to get a competent comment from Gentoo devs.
On Fri, 2005-03-25 at 17:54 +0200, Radu Filip