🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9191

Re: Max file size?

#9191
From: Andrue Cope [TeamB]
Date: Fri, 23 Jul 2004 12:42
45 lines
2112 bytes
<David> wrote:

> What is the max file size ? Is it limited by OS or HW?

It's limited by the following (from the bottom up):

  File system
  Operating system API
  File I/O libraries.
  Application code.

Application code:
Most applications use 32 bit file pointers. This limits their file
sizes to 4GB.

File I/O libraries.
Older file I/O libraries are also often limited to 32 bit file pointers.

Operating system API:
Win32 uses 64 bit file pointers so can address very, very big files.

File systems:
NTFS uses 64 bit file pointers so can in theory address very, very big
files. In practice (in the past) there were problems going beyond 4GB
but those were resolves in an NT fixpack long ago. Whether other bugs
might strike somewhere further up the line is unknown. I can vouch that
the 4GB barrier can be crossed but have not taken it to the limit yet :)

NetWare 3/4/5:
32 bit file pointers.

NetWare NSS:64 bit file pointers.

FAT12/16/32:32 bit file pointers.
Early versions used signed values so sometimes got confused above 2GB.

Most Unix file systems:
32 bit pointers.

Generally speaking older file systems only have 32 bit pointers. Newer
file systems have 64-bit.
-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <410107ca$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41010174@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8c3de3d88ac413f2
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@spammy.com>
Subject: Re: Max file size?
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41010174@newsgroups.borland.com>
User-Agent: XanaNews/1.16.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <410107ca$2@newsgroups.borland.com>
Date: 23 Jul 2004 05:42:50 -0700
X-Trace: newsgroups.borland.com 1090586570 217.207.223.34 (23 Jul 2004 05:42:50 -0700)
Lines: 45
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail