Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Files > 2Gb on HP-UX 10.20
On Wed, 4 Jun 1997, Gaja K. Vaidyanatha wrote:
> All I wanted to communicate is that if you run a 32 bit OS, 2G is all
> you get just because you have only 2^32 bits for addressing.
Simply untrue. Sure, if you naively use int for your file offsets when seeking, then you're limited. There's no reason off_t has to be the machine's native integer size; off_t can easily be a 64-bit (or 128-bit) quantity on a 32-bit machine. Now you can't _mmap_ the file, but that's another matter.
This is like saying we can't use IPv6 until the advent of 128-bit cpus.
-- Todd Graham Lewis Manager of Web Engineering MindSpring Enterprises (800) 719-4664, x2804 Linux! tlewis_at_mindspring.netReceived on Wed Jun 04 1997 - 00:00:00 CDT
![]() |
![]() |