Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 1999 14:48:53 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        emulation@FreeBSD.org
Subject:   Re: Overcoming 2GB limit in linux
Message-ID:  <380722B5.CC3E339E@scc.nl>
References:  <199910151224.KAA46358@thomson.iqm.unicamp.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Fabio Cesar Gozzo wrote:

> 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 ?
> I also have the source code for this program, but porting
> to FreeBSD is "no way" at the moment.

There's nothing at first sight that adds such a limit to the
linuxulator. You may want to check the sources if lseek is used or not.
If so, try llseek instead.

-- 
Marcel Moolenaar                        mailto:marcel@scc.nl
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:marcel@FreeBSD.org


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?380722B5.CC3E339E>