Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Files > 2Gb on HP-UX 10.20

Re: Files > 2Gb on HP-UX 10.20

From: Todd Graham Lewis <tlewis_at_mindspring.net>
Date: 1997/06/04
Message-ID: <Pine.LNX.3.96.970604095852.1949C-100000@reflections.eng.mindspring.net>#1/1

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.net
Received on Wed Jun 04 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US