[NTLUG:Discuss] File Size Limits
Steve Baker
sjbaker1 at airmail.net
Wed Nov 19 16:52:44 CST 2003
Kenneth Loafman wrote:
> Has the 2GB file size limit been broken under Linux yet?
Yes.
steve at batcave:/home/steve> ls -l t6
-rw-rw-rw- 1 steve users 4294967296 Nov 19 16:03 t6
4,294,967,296 == 4Gb.
> If so, does it need a special kernel gen to get there?
Nope - that was a standard SuSE 2.4.18 kernel with zilch adjustment by me.
> I'm thinking that it hasn't because size_t is still typedef'ed to an int
> in many places, and that's 32-bit until we go to 64-bit processors.
Well - that may mean that some programs have trouble dealing with
files over 2Gb - but the kernel seems to be managing just fine.
---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net> WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net http://tuxaqfh.sf.net
http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M-
V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----
More information about the Discuss
mailing list