LFS question...
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
Sorry, I meant RedHat 7.2 with kernel version 2.4.7
-James
Quoted 17 lines · James Kelty
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?
(quoted diff) +0
-2-James -To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi James,
Quoted 1 line
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
Quoted 28 lines
-James
Quoted 13 lines · James Kelty
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?
(quoted diff) +0
-2-James -Quoted 4 lines
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 8 lines
-- "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. --
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!
Quoted 58 lines · Nathan
Hi James,
Quoted 1 line
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
Quoted 28 lines
-James
Quoted 13 lines · James Kelty
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?
(quoted diff) +0
-2-James -Quoted 4 lines
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlSignature · 13 lines
-- "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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · James Kelty
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.
Signature · 1 line
Glynn Clements <[email protected]>