[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2Gig filesize limit problem....



Hi,

but don't you also have to use 64bit file position variables ? I always
thought the 2G limit was due to the 32bit integer variable. What is the
solution to this problem ?

Schlomo


 On Sun, 18 Nov 2001, Miki Shapiro wrote:

> > Your generic linux 2.4 and glibc 2.2 support LFS. What are the specifics
> > of your problem? Large file support should be transparently added to an
> > application provided that it is built with _LARGEFILE64_SOURCE and
> > _FILE_OFFSET_BITS set to 64.
>
> Yup. Recompiled my 2-gig-file-creation test proggie with these defines -
> and it works like charm. I'm off to recompile Samba.
>
> Thanks!!! :-)
>
>
>
>
> ---= Miki Shapiro =------------------
>  ---= Cell: (+972)-56-322433 =--------
>   ---= ICQ: 3EE853 =-------------------
>    ---= Windows Programmer in Rehab =---
>     -------------------------------------
>
> "If at first you don't succeed...
> .. Skydiving is probbably not for you."
>
> On Sun, 18 Nov 2001, Yotam Rubin wrote:
>
> > On Sun, Nov 18, 2001 at 11:44:45AM +0200, Miki Shapiro wrote:
> > > Hi everyone.
> > >
> > > I must have missed something:
> > >
> > > SuSE Linux 7.0
> > > Custom-tailored 2.4.9 kernel
> > > Absolutely latest reiserfs binaries (from yesterday - the 3.x... version)
> > > shell-limit (limit/unlimit) filesize removed
> > > If it matters, the partition was created by the new mkreiserfs util.
> > >
> > > Is there ***ANY*** document at all that thoroughly explains how to make
> > > a system compliant with 2+gig files (unlike what's on www.suse.de which
> > > explains which version of SuSE I need to run with it's default kernel for
> > > it to work). I didn't find scratch on linuxdoc.org...
> >
> >    Your generic linux 2.4 and glibc 2.2 support LFS. What are the specifics
> > of your problem? Large file support should be transparently added to an
> > application provided that it is built with _LARGEFILE64_SOURCE and
> > _FILE_OFFSET_BITS set to 64.
> >
> > 	Regards, Yotam Rubin
> >
> > > If the former is correct, where is the patch to recent 2.4.9+ kernels?
> > > If the latter, what do I do about samba (and binutils...)
> > > Is it something I missed altogether?
> > >
> > > FM's to RT would be wonderful.
> > >
> > > Thanks!!!
> > >
> > > ---= Miki Shapiro =------------------
> > >  ---= Cell: (+972)-56-322433 =--------
> > >   ---= ICQ: 3EE853 =-------------------
> > >    ---= Windows Programmer in Rehab =---
> > >     -------------------------------------
> > >
> > > "If at first you don't succeed...
> > > .. Skydiving is probbably not for you."
> > >
> > >
> > > =================================================================
> > > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > > the word "unsubscribe" in the message body, e.g., run the command
> > > echo unsubscribe | mail linux-il-request@linux.org.il
> > >
> >
> > =================================================================
> > To unsubscribe, send mail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
> >
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>

-- 
Schlomo Schapiro
Senior System Administrator
MobilEye Vision Technologies Ltd.

24 Mishol Hadkalim St., Jerusalem, Israel
Telephone:  + 972-2-586-6989 Ext. 131
Mobile:     + 972-55-767898
Fax:        + 972-2-586-7720

email: schapiro@mobileye.com
WWW:   http://www.mobileye.com


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il