From owner-freebsd-emulation Fri Oct 15 9: 4:20 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from dingo.cdrom.com (castles553.castles.com [208.214.165.117]) by hub.freebsd.org (Postfix) with ESMTP id B7310157C7 for ; Fri, 15 Oct 1999 09:04:04 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id IAA03374; Fri, 15 Oct 1999 08:55:45 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199910151555.IAA03374@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Fabio Cesar Gozzo Cc: freebsd-emulation@freebsd.org Subject: Re: Overcoming 2GB limit in linux In-reply-to: Your message of "Fri, 15 Oct 1999 10:24:27 -0200." <199910151224.KAA46358@thomson.iqm.unicamp.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 15 Oct 1999 08:55:44 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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