Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 1999 08:55:44 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Fabio Cesar Gozzo <fabio@iqm.unicamp.br>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Overcoming 2GB limit in linux 
Message-ID:  <199910151555.IAA03374@dingo.cdrom.com>
In-Reply-To: Your message of "Fri, 15 Oct 1999 10:24:27 -0200." <199910151224.KAA46358@thomson.iqm.unicamp.br> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hello all,
> 
> This may be a Linux emulation FAQ, but I didn't find an answer
> by searching the mailling list.
> I'm running a Linux program under -stable and it usually
> try to create a file bigger than 2 GB, but then it stops
> with a "writing failure" message when the file reachs 2GB.
> I know this is a Linux limitation, but
> is there a way to overcome this 2GB file size limit under the
> Linux emulation ?

No.  We are compatible with Linux, and that means that we have the same 
limits it does.

> I also have the source code for this program, but porting
> to FreeBSD is "no way" at the moment.

Linux has some funky system/library calls to handle >2GB files; you 
may want to try changing the source to use them.

-- 
\\ Give a man a fish, and you feed him for a day. \\  Mike Smith
\\ Tell him he should learn how to fish himself,  \\  msmith@freebsd.org
\\ and he'll hate you for a lifetime.             \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910151555.IAA03374>