All of lore.kernel.org
 help / color / mirror / Atom feed
* LFS question...
@ 2002-07-10 22:24 James Kelty
  2002-07-10 23:00 ` James Kelty
  2002-07-10 23:45 ` Glynn Clements
  0 siblings, 2 replies; 5+ messages in thread
From: James Kelty @ 2002-07-10 22:24 UTC (permalink / raw)
  To: Linux-Admin

I'm trying to get over the 2Gig file size Limit on my RedHat 7.3 system.
I've found some sites talking about the LFS api, but it seems that I
have to actually compile my progs with a few different C flags to get it
to work properly.

Does anyone know of an 'overall' solution to this problem, rather than
having to recompile?

-James




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: LFS question...
  2002-07-10 22:24 LFS question James Kelty
@ 2002-07-10 23:00 ` James Kelty
  2002-07-10 23:26   ` Nathan
  2002-07-10 23:45 ` Glynn Clements
  1 sibling, 1 reply; 5+ messages in thread
From: James Kelty @ 2002-07-10 23:00 UTC (permalink / raw)
  To: Linux-Admin

Sorry, I meant RedHat 7.2 with kernel version 2.4.7

-James


On Wed, 2002-07-10 at 15:24, James Kelty wrote:
> I'm trying to get over the 2Gig file size Limit on my RedHat 7.3 system.
> I've found some sites talking about the LFS api, but it seems that I
> have to actually compile my progs with a few different C flags to get it
> to work properly.
> 
> Does anyone know of an 'overall' solution to this problem, rather than
> having to recompile?
> 
> -James
> 
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: LFS question...
  2002-07-10 23:26   ` Nathan
@ 2002-07-10 23:24     ` James Kelty
  0 siblings, 0 replies; 5+ messages in thread
From: James Kelty @ 2002-07-10 23:24 UTC (permalink / raw)
  To: Linux-Admin

That is also what I thought, but I am running ext3, but I would think
that issue would also be taken care of. Hmmmm. Ok. Weird. My RH 7.3
system running ext3 does NOT have this problem, but it IS running kernel
2.4.18. Hmmm.

Ok, thanks anyway!

On Wed, 2002-07-10 at 16:26, Nathan wrote:
> 
> Hi James,
> 
> > Sorry, I meant RedHat 7.2 with kernel version 2.4.7
> 
> Someone please correct me if I am wrong, but it is my understanding that
> ext2 and 2.4 no longer suffer from the 2Gig file size limit ?
> 
>  Course that doesn't help you James, if you are not running ext2.
> 
> 
> -Nathan
> 
> 
> > -James
> >
> >
> > On Wed, 2002-07-10 at 15:24, James Kelty wrote:
> > > I'm trying to get over the 2Gig file size Limit on my RedHat 7.3 system.
> > > I've found some sites talking about the LFS api, but it seems that I
> > > have to actually compile my progs with a few different C flags to get it
> > > to work properly.
> > >
> > > Does anyone know of an 'overall' solution to this problem, rather than
> > > having to recompile?
> > >
> > > -James
> > >
> > >
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
> 
> -- 
> --
> "Whoever undertakes to set himself up as a judge of Truth and Knowledge is
>  shipwrecked by the laughter of the gods."
>    Albert Einstein
> 
> Chisolm's First Corollary to Murphy's Second Law:
> 	When things just can't possibly get any worse, they will.
> --
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: LFS question...
  2002-07-10 23:00 ` James Kelty
@ 2002-07-10 23:26   ` Nathan
  2002-07-10 23:24     ` James Kelty
  0 siblings, 1 reply; 5+ messages in thread
From: Nathan @ 2002-07-10 23:26 UTC (permalink / raw)
  To: James Kelty; +Cc: Linux-Admin


Hi James,

> Sorry, I meant RedHat 7.2 with kernel version 2.4.7

Someone please correct me if I am wrong, but it is my understanding that
ext2 and 2.4 no longer suffer from the 2Gig file size limit ?

 Course that doesn't help you James, if you are not running ext2.


-Nathan


> -James
>
>
> On Wed, 2002-07-10 at 15:24, James Kelty wrote:
> > I'm trying to get over the 2Gig file size Limit on my RedHat 7.3 system.
> > I've found some sites talking about the LFS api, but it seems that I
> > have to actually compile my progs with a few different C flags to get it
> > to work properly.
> >
> > Does anyone know of an 'overall' solution to this problem, rather than
> > having to recompile?
> >
> > -James
> >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

-- 
--
"Whoever undertakes to set himself up as a judge of Truth and Knowledge is
 shipwrecked by the laughter of the gods."
   Albert Einstein

Chisolm's First Corollary to Murphy's Second Law:
	When things just can't possibly get any worse, they will.
--


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: LFS question...
  2002-07-10 22:24 LFS question James Kelty
  2002-07-10 23:00 ` James Kelty
@ 2002-07-10 23:45 ` Glynn Clements
  1 sibling, 0 replies; 5+ messages in thread
From: Glynn Clements @ 2002-07-10 23:45 UTC (permalink / raw)
  To: James Kelty; +Cc: Linux-Admin


James Kelty wrote:

> I'm trying to get over the 2Gig file size Limit on my RedHat 7.3 system.
> I've found some sites talking about the LFS api, but it seems that I
> have to actually compile my progs with a few different C flags to get it
> to work properly.
> 
> Does anyone know of an 'overall' solution to this problem, rather than
> having to recompile?

A number of standard Unix API functions accept and/or return file
offsets (e.g. lseek, mmap). On a 32-bit system, these offsets (type
off_t) are 32-bit signed integers, which are limited to +/- 2Gb.

If a program needs work with files which are larger than 2Gb, it has
to use the extended functions (e.g. lseek64, mmap64), and store
offsets using a (64-bit) off64_t.

There isn't any way that you take an executable than uses 32 bits for
a file offset and "magically" make it use 64 bits.

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-10 23:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-10 22:24 LFS question James Kelty
2002-07-10 23:00 ` James Kelty
2002-07-10 23:26   ` Nathan
2002-07-10 23:24     ` James Kelty
2002-07-10 23:45 ` Glynn Clements

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.