From owner-freebsd-hackers Tue Feb 15 17:13:42 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by builder.freebsd.org (Postfix) with ESMTP id 072FB505D for ; Tue, 15 Feb 2000 16:24:49 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id QAA46340; Tue, 15 Feb 2000 16:25:11 -0800 (PST) (envelope-from dillon) Date: Tue, 15 Feb 2000 16:25:11 -0800 (PST) From: Matthew Dillon Message-Id: <200002160025.QAA46340@apollo.backplane.com> To: John Milford Cc: Peter Wemm , Joe Greco , hackers@FreeBSD.ORG Subject: Re: Filesystem size limit? References: <200002151924.LAA02584@soda.csua.Berkeley.edu> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> :> ie: there is a signed 32 bit sector count limit. 2^31 == 1TB. It shouldn't :> be too hard to get it to create 2^32 bit (2TB) filesystem though. I'd expect :> there to be more problems that this to bite you though. :-( :> :> 2^31 also happens to be the mmap() file offset limit FWIW. No it isn't. mmap() (under FreeBSD) takes an off_t for the file offset, so the file offset limit is 2^63. The size of your map is limited to the size of the user address space minus things already mapped -- around 3 GB on IA32. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message