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

Re: Maximum file size



Hi,

On Tue, Oct 08, 2002 at 09:38:28AM -0700, Bryan O'Sullivan wrote:
> On Tue, 2002-10-08 at 08:35, Stephen C. Tweedie wrote:
> 
> > file size: about 4 TB.  Filesystem size: 1 TB (limited by the block
> > device layer, but that should be increased in 2.5.)
> 
> I believe the latter is 2TB, even on x86.

It is _supposed_ to be, but 2TB requires 2^32 sectors, so the entire
path through filesystem, elevator and device driver must be 32-bit
clean or it won't work.  In practice, people have found enough places
where a sector gets stored as a signed int that it's not really safe
to rely on 2TB on 2.4 yet.  It may work on some devices.  1TB fits in
a signed int just fine.

Cheers,
 Stephen





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