Alexander Shinn on Wed, 3 Mar 1999 10:37:01 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Max file size in Linux?


On Wed, 3 Mar 1999 tburba@GLCORPIS01.usvision.com wrote:

> What's the Maximum file size limit in Linux? Our SCO OpenServer system
> hit the wall with a 2 gig file. Can Linux handle bigger files?

Well, an inode in the ext2 filesystem holds the addresses of 12 direct
blocks, 1 indirect block (which points to 256 direct blocks), 1 doubly
indirect block (pointing to 256 indirect blocks) and 1 triply indirect
block (256 doubly indirect blocks).  If all of these were used you could
have

12 + 256 + 256^2 + 256^3 = 16,843,020 blocks

or about 16 gigs.

--
f00f

--
To unsubscribe, send a message with the word 'unsubscribe' in the subject
or body of your message to plug-request@lists.nothinbut.net