Messages in this thread | | | Date | Wed, 15 Sep 1999 20:15:08 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: ext2 file sizes |
| |
On 15 Sep 1999, david parsons wrote:
> In article <linux.kernel.Pine.LNX.3.95.990915150738.775A-100000@chaos.analogic.com>, > Richard B. Johnson <root@chaos.analogic.com> wrote: > >On Wed, 15 Sep 1999, Blankenship, Keith wrote: > > > >> I am having some difficulty with the ext2 file systems. I need to generate a > >> file that will be > 5 Gigabytes, and there appears to be a file size cap at > >> approximately 2 Gig. I am running what appears to be a version 2.0.36 > >> Kernel. Is there anything I can adjust, or do to increase the maximum file > >> size? Or is there a newer kernel that may work? > >> > > > >Note that on a 32-bit machine, toff_t, used as fpos_t, for file offsets, > >i.e., lseek, is unsigned 32 bits. You will not be able to access such a > >file on a 32-bit machine. > > Sure you will; either via the traditional start-at-the-front and > read 'til you're finished method, or relative lseek, or llseek. >
I note you deleted the rest of the answer including the working being done with the long-long on Linux. This abuse is unconsionable.
So try it and see.
Cheers, Dick Johnson **** FILE SYSTEM WAS MODIFIED **** Penguin : Linux version 2.2.4 on an i686 machine (400.59 BogoMips). Warning : It's hard to remain at the trailing edge of technology.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |