Re: Filesize limitation

Andre Uratsuka Manoel (andre@insite.com.br)
Mon, 3 Nov 1997 15:17:14 -0200 (EDT)


On Mon, 3 Nov 1997, Richard B. Johnson wrote:

-> On Mon, 3 Nov 1997, Andre Uratsuka Manoel wrote:
->
-> >
-> There is plenty of "room" available in the object types that would
-> define a file in Linux for an ext2 file-system (like fpos_t, etc.)
->
-> I don't have a spare disk large enough to make a 2Gb file. However,
-> I would guess that if you can't make one (with large enough media), there
-> is either a bug in the program that tries to create it or possibly a
-> bug in the kernel. You don't need 64 bits to manipulate a 2 Gb file.
->
->

That's good, but it seems to me libc users a signed integer
(ssize_t) for functions like read, write, seek, tell. Couldn't that
cause problems, too?

Also, the possibility of bugs in the program is still there.

Thanks and regards
Andre