From owner-freebsd-current Fri Jan 30 23:30:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA04171 for current-outgoing; Fri, 30 Jan 1998 23:30:22 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from word.smith.net.au (ppp6.portal.net.au [202.12.71.106]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA04161 for ; Fri, 30 Jan 1998 23:30:15 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id RAA00987; Sat, 31 Jan 1998 17:53:06 +1030 (CST) Message-Id: <199801310723.RAA00987@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Karl Denninger cc: current@FreeBSD.ORG Subject: Re: File Size limit? In-reply-to: Your message of "Sat, 31 Jan 1998 00:45:09 MDT." <19980131004509.23016@mcs.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 31 Jan 1998 17:53:06 +1030 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" > > What is it under FreeBSD? > > I see that _BSD_OFF_T_, which is the parent of the LSEEK argument, is > defined as "long long". Is this a 64-bit quantity, implying that we have > file sizes allowed beyond 2GB (or 4GB)? That's correct. off_t must be signed (to allow seeking backwards), so the old limit was 2GB. I can vouch that at least basic operations (read, write, mmap() of a region) work on files > 2GB, as I used this functionality recently. (Analysis of an atmospheric simulation, if anyone cares.) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\