Date: Sat, 20 May 2000 10:12:30 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Robin Carey <bsc4093@dcs.napier.ac.uk> Cc: Alfred Perlstein <bright@wintelcom.net>, questions@FreeBSD.ORG Subject: Re: large file-sizes Message-ID: <20000520101230.A2873@dan.emsphone.com> In-Reply-To: <Pine.SO4.4.01.10005201602060.672-100000@artemis>; from "Robin Carey" on Sat May 20 16:06:24 GMT 2000 References: <20000519105151.A13502@fw.wintelcom.net> <Pine.SO4.4.01.10005201602060.672-100000@artemis>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 20), Robin Carey said: > On Fri, 19 May 2000, Alfred Perlstein wrote: > > * Robin Carey <bsc4093@dcs.napier.ac.uk> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000520101230.A2873>