[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux limitations
> File size, not partition size. File size is limited by the size of the
> "file size" field in the kernel structures. If it's "integer", than on
> 32bit machine it's 2G.
It is not set to integer. It is set in BITS:
/*
* Structure of an inode on the disk
*/
struct ext2_inode {
__u16 i_mode; /* File mode */
__u16 i_uid; /* Owner Uid
__u32 i_size; /* Size in bytes */
^^^^^^^^^^^^^^^^^
It is taken from /usr/src/linux/include/linux/ext2_fs.h
So the "32 bitness" of the processor is not the factor. A very easy solution
would be to use unsigned instead of signed ( and then we would get 4GB).
Anyway SGI released their great XFS, and ext3 is planned to solve many
problems too.
Liran.
--
__________________________________________________________________________
Liran Zvibel. | " You know, how is The Force
System Programmer, System Administrator. | like duct tape? Answer:
email : liranz@actcom.co.il | it has a light side, a dark
phone : 972 - 3 - 6493939 | side, and it holds the
home : http://www.math.tau.ac.il/~liranz| universe together. "
UIN: 708004 ; WHOIS : LZ615 | -- Larry Wall
--------------------------------------------------------------------------