Re: [SLUG] cp command question

From: Ian C. Blenke (icblenke@nks.net)
Date: Mon Sep 09 2002 - 09:02:10 EDT


On Fri, 2002-09-06 at 20:04, Ed Centanni wrote:
> Best guess is about 2GB unless large file support is compiled into the
> kernel.

All 2.4 kernels have Large File Support (LFS) in the kernel. Your
distribution must also have an LFS capable glibc 2.2, and applications
must be built to be LFS aware as well. Most modern distributions are LFS
friendly and are no longer stuck with the 2GB file size limitation.

So, to answer your question, cp may be limited by your glibc and how it
was compiled - it may only be able to copy a 2GB file. If it was
compiled with LFS support and linked against a LFS glibc and run on a
kernel that supports LFS, then your virtual limit is 2^63 bytes.

Here's the best page for information about Linux and the LFS situation:

        http://www.suse.de/~aj/linux_lfs.html

- Ian C. Blenke <icblenke@nks.net> <ian@blenke.com>
http://ian.blenke.com



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:08:16 EDT