Re: [expert] files larger than 2 GB

2000-06-13 Thread Charles Curley

On Mon, Jun 12, 2000 at 10:08:55PM -0400, Lars Nordin wrote:
-> I thought it was a kernel/glib/filesystem issue that really didn't have much
-> to do with the word size of the hardware.
-> You would figure that you could  have the kernel compensate by doing the
-> pointer/offset math 32-bits at a time and hence enable it to do a lseek on a
-> 64 bit value on IA32 hardware (it would be slower); Especially since they
-> have filesystems that are larger than 2GB (32bits) but it's been too long
-> since I worked at that low of a level.

I don't think it is just a library issue. For one thing, I believe in
order to be POSIX compliant, you have to be able to seek from any point in
a file to any other in one function call (which is why I immediately
looked at the man page for lseek). To do that for a file of size greater
than 2 GB, you have to have a way to indicate more than 2 GB to the lseek
function, and that means either using a single 64 bit value for the input,
or using (as NT does) two 32 bit values (yucch).

It can be done, obviously. However, either solution would break a lot of
existing programs, so it is the sort of thing to do only at a major
revision.



-> 
-> - Original Message -
-> From: Charles Curley <[EMAIL PROTECTED]>
-> To: <[EMAIL PROTECTED]>
-> Sent: Monday, June 12, 2000 12:39 PM
-> Subject: Re: [expert] files larger than 2 GB
-> > -> > I would appreciate information about the possibility of creating
-> files
-> > -> > larger than 2 GB.
-> [snip]
-> > It is a Linux kernel limitation on 32 bit architectures (e.g. 80x86)
-> [snip]
-> > I seem to recall somewhere reading that this wil be addressed in the 2.4
-> > kernels. Any kernel watchers care to verify this?
-> 

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley




Re: [expert] files larger than 2 GB

2000-06-12 Thread Lars Nordin

I thought it was a kernel/glib/filesystem issue that really didn't have much
to do with the word size of the hardware.
You would figure that you could  have the kernel compensate by doing the
pointer/offset math 32-bits at a time and hence enable it to do a lseek on a
64 bit value on IA32 hardware (it would be slower); Especially since they
have filesystems that are larger than 2GB (32bits) but it's been too long
since I worked at that low of a level.

- Original Message -
From: Charles Curley <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 12, 2000 12:39 PM
Subject: Re: [expert] files larger than 2 GB
> -> > I would appreciate information about the possibility of creating
files
> -> > larger than 2 GB.
[snip]
> It is a Linux kernel limitation on 32 bit architectures (e.g. 80x86)
[snip]
> I seem to recall somewhere reading that this wil be addressed in the 2.4
> kernels. Any kernel watchers care to verify this?





Re: [expert] files larger than 2 GB

2000-06-12 Thread Piero

Then, what?
> 
> > This is a Linux Kernel problem and not a mandrake problem.
> > 
> > 
> > On Mon, 12 Jun 2000, Berta Fernandez Rodriguez wrote:
> > > I would appreciate information about the possibility of creating files
> > > larger than 2 GB. With the defoult installation of mandrake 7.0 there is
> > > this limit. Is it possible to overcome it?
> > > Thanks in advance
> > > Berta Fernandez
> > -- 
> > Eugene GrimsdellSystem Administrator
> > OSRAM South Africa  www.osram.co.za
> > Tell:   +27 11 805-1711
> > Cell:   +27 83 491-0955
> > Fax:+27 11 405-0955
> >
-- 
Piero
--
Dr Piero Caracciolo
Ecole Normale Superieure

...humani nihil ...




Re: [expert] files larger than 2 GB

2000-06-12 Thread Charles Curley

On Mon, Jun 12, 2000 at 11:07:38AM -0400, John Aldrich wrote:
-> On Mon, 12 Jun 2000, you wrote:
-> > I would appreciate information about the possibility of creating files
-> > larger than 2 GB. With the defoult installation of mandrake 7.0 there is
-> > this limit. Is it possible to overcome it?
-> >
-> AFAIK, this is a *linux kernel* limitation, not a Mandrake
-> limitation.

It is a Linux kernel limitation on 32 bit architectures (e.g. 80x86). On
64 bit architectures (Alpha, Merced, PA-RISC), it does not apply. lseek
takes an int argument for the offset. see: man lseek.

I seem to recall somewhere reading that this wil be addressed in the 2.4
kernels. Any kernel watchers care to verify this?

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley




Re: [expert] files larger than 2 GB

2000-06-12 Thread John Aldrich

On Mon, 12 Jun 2000, you wrote:
> I would appreciate information about the possibility of creating files
> larger than 2 GB. With the defoult installation of mandrake 7.0 there is
> this limit. Is it possible to overcome it?
>
AFAIK, this is a *linux kernel* limitation, not a Mandrake
limitation.
John




Re: [expert] files larger than 2 GB

2000-06-12 Thread WeiQuan Tian


 The 32 bit OS has 2.1GB limit. Once going to 64 bit OS, this limit
is much larger. Some of Linux are 64 bit OS (differnet kernel).

 Wei Quan Tian

On Mon, 12 Jun 2000, Eugene Grimsdell wrote:

> This is a Linux Kernel problem and not a mandrake problem.
> 
> 
> On Mon, 12 Jun 2000, Berta Fernandez Rodriguez wrote:
> > I would appreciate information about the possibility of creating files
> > larger than 2 GB. With the defoult installation of mandrake 7.0 there is
> > this limit. Is it possible to overcome it?
> > Thanks in advance
> > Berta Fernandez
> -- 
> Eugene Grimsdell  System Administrator
> OSRAM South Africawww.osram.co.za
> Tell: +27 11 805-1711
> Cell: +27 83 491-0955
> Fax:  +27 11 405-0955
> 




Re: [expert] files larger than 2 GB

2000-06-12 Thread Eugene Grimsdell

This is a Linux Kernel problem and not a mandrake problem.


On Mon, 12 Jun 2000, Berta Fernandez Rodriguez wrote:
> I would appreciate information about the possibility of creating files
> larger than 2 GB. With the defoult installation of mandrake 7.0 there is
> this limit. Is it possible to overcome it?
> Thanks in advance
> Berta Fernandez
-- 
Eugene GrimsdellSystem Administrator
OSRAM South Africa  www.osram.co.za
Tell:   +27 11 805-1711
Cell:   +27 83 491-0955
Fax:+27 11 405-0955




[expert] files larger than 2 GB

2000-06-12 Thread Berta Fernandez Rodriguez




I would appreciate information about the possibility of creating files
larger than 2 GB. With the defoult installation of mandrake 7.0 there is
this limit. Is it possible to overcome it?
Thanks in advance
Berta Fernandez