From owner-freebsd-current Sat Jan 31 09:12:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04862 for current-outgoing; Sat, 31 Jan 1998 09:12:44 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04857 for ; Sat, 31 Jan 1998 09:12:43 -0800 (PST) (envelope-from karl@Mars.mcs.net) Received: from Mars.mcs.net (karl@Mars.mcs.net [192.160.127.85]) by Kitten.mcs.com (8.8.7/8.8.2) with ESMTP id LAA24527; Sat, 31 Jan 1998 11:12:38 -0600 (CST) Received: (from karl@localhost) by Mars.mcs.net (8.8.7/8.8.2) id LAA11351; Sat, 31 Jan 1998 11:12:37 -0600 (CST) Message-ID: <19980131111237.39736@mcs.net> Date: Sat, 31 Jan 1998 11:12:37 -0600 From: Karl Denninger To: Mike Smith Cc: current@FreeBSD.ORG Subject: Re: File Size limit? References: <19980131004509.23016@mcs.net> <199801310723.RAA00987@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <199801310723.RAA00987@word.smith.net.au>; from Mike Smith on Sat, Jan 31, 1998 at 05:53:06PM +1030 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" On Sat, Jan 31, 1998 at 05:53:06PM +1030, Mike Smith wrote: > > > > 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.) The reason its important to me is that I have a rdbms application (under Postgresql) on a RAIDified disk pack that has over 32GB of total space. I *already* have tables of over 1G out there... and expect to cross the 2G boundary within a year. Having it blow up in my face would be most "uncool". -- -- Karl Denninger (karl@MCS.Net)| MCSNet - Serving Chicagoland and Wisconsin http://www.mcs.net/ | T1's from $600 monthly to FULL DS-3 Service | NEW! K56Flex support on ALL modems Voice: [+1 312 803-MCS1 x219]| EXCLUSIVE NEW FEATURE ON ALL PERSONAL ACCOUNTS Fax: [+1 312 803-4929] | *SPAMBLOCK* Technology now included at no cost