From owner-freebsd-questions Sat Mar 6 10:11:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (Postfix) with ESMTP id 19DC0152C9 for ; Sat, 6 Mar 1999 10:11:20 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.9.1/8.9.1) id NAA05446; Sat, 6 Mar 1999 13:09:45 -0500 (EST) Date: Sat, 6 Mar 1999 13:09:41 -0500 From: "Norman C. Rice" To: W Gerald Hicks Cc: Greg Black , lbruno@cmp.com, freebsd-questions@FreeBSD.ORG, wghicks@wghicks.bellsouth.net Subject: Re: Technical questions about BSD Message-ID: <19990306130941.A5224@emu.sourcee.com> References: <19990304104409.7795.qmail@alpha.comkey.com.au> <199903041331.IAA14062@bellsouth.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <199903041331.IAA14062@bellsouth.net>; from W Gerald Hicks on Thu, Mar 04, 1999 at 08:31:16AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Mar 04, 1999 at 08:31:16AM -0500, W Gerald Hicks wrote: [ ... ] > > What is the maximum file size that can run on a FreeBSD > > operating system-- 64 Mbytes? > > Ouch! Where'd you get that? FreeBSD would be a toy if this were the > case. It's not of course. :-) > > Filesizes are represented by 64 bit numbers in the system metadata > but ISTR a traditional limit of 2 gigabytes. There has been work > in this area over the past few years so this might have been extended. I have no problem creating and reading a 6 gigabyte file. # uname -rs FreeBSD 4.0-CURRENT # dd if=/dev/zero of=foo bs=1m count=6k 6144+0 records in 6144+0 records out 6442450944 bytes transferred in 573.647312 secs (11230683 bytes/sec) # ls -l total 6294536 -rw-r--r-- 1 root wheel 6442450944 Mar 6 11:48 foo # dd if=foo of=/dev/null 12582912+0 records in 12582912+0 records out 6442450944 bytes transferred in 524.834994 secs (12275193 bytes/sec) Note that "foo" is really 6 gigabytes (6*1024*1024*1024 bytes), not 6 "marketing" gigabytes (6*1000*1000*1000 or 6,000,000,000 bytes). I can't create a file larger than this because I don't have enough free disk space. Perhaps someone with more disk space can determine whether a file larger than 8 gigabytes can be created and read. -- Regards, Norman C. Rice, Jr. [ ... ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message