From owner-freebsd-questions Sat May 20 8:12:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 71FA237B6B9 for ; Sat, 20 May 2000 08:12:37 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id KAA04052; Sat, 20 May 2000 10:12:30 -0500 (CDT) (envelope-from dan) Date: Sat, 20 May 2000 10:12:30 -0500 From: Dan Nelson To: Robin Carey Cc: Alfred Perlstein , questions@FreeBSD.ORG Subject: Re: large file-sizes Message-ID: <20000520101230.A2873@dan.emsphone.com> References: <20000519105151.A13502@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from "Robin Carey" on Sat May 20 16:06:24 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 20), Robin Carey said: > On Fri, 19 May 2000, Alfred Perlstein wrote: > > * Robin Carey [000519 10:42] wrote: > > > Am I right in thinking that FreeBSD/i386 can support large files > > > (e.g. tera-bytes) under FFS, but cannot read more than a 32-bit > > > integer ? > > > > FFS is 64 bit, off_t is a 64 bit quantity. > > > > > If this is the case, has anyone considered, for example, a 64-bit > > > "virtual" integer interface to allow reading/writing files bigger > > > than what can be stored in a 32-bit integer ? > > > > off_t :) > > OK - call me stupid :) But how does FreeBSD/i386 support 64-bit > off_t's (on a 32-bit microprocessor) ? "long long" is a 64-bit type. off_t is a long long. > To clarify this: You're telling me I can read/write/lseek files bigger > than 4-gigs ? Most definitely. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message