*BSD News Article 56094


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!lll-winken.llnl.gov!fnnews.fnal.gov!gw1.att.com!nntpa!not-for-mail
From: dyson@inuxs.inh.att.com (John S. Dyson)
Subject: Re: SCSI geometry on 9GB Seagate
Message-ID: <DJ2szs.CrI@nntpa.cb.att.com>
Sender: news@nntpa.cb.att.com (Netnews Administration)
Nntp-Posting-Host: inuxs.inh.att.com
Organization: AT&T
References: <49b1vo$3ha@news1.is.net> <49jru9$ili@uriah.heep.sax.de> <DJ1qtq.1v4@rci.ripco.com> <49v3re$dq2@sidhe.hsc-sec.fr>
Date: Mon, 4 Dec 1995 19:04:39 GMT
Lines: 26

In article <49v3re$dq2@sidhe.hsc-sec.fr>,
Ollivier Robert <roberto@hsc.fr.net> wrote:
>In article <DJ1qtq.1v4@rci.ripco.com>, David Richards <dr@ripco.com> wrote:
>> I know many other Unixes have a 2Gb limit due to the size of off_t-
>> What's the maximum size limit on a single UFS filesystem? FFS?
>
>In  4.4BSD derived systems   (NetBSD, FreeBSD and OpenBSD), the  filesystem
>uses 64-bits off_t.
>
>In FreeBSD, due to the VM, a single FS should be able to have 4 TB worth on
>it and the current single *file* limit is 2 GB (31 bits).
>
The new code that supports filesizes of 1TB is working, and is the code
running on my workstation now.  It needs to be reviewed, as the changes
to the VM system are substantial.  Since I started on these changes
a few weeks ago, the kernel sources have changed substantially -- so it
will be a day or two of "merging" to bring it up to date.

Happily, the code is generally simplified a bit (now since several
/PAGE_SIZE or *PAGE_SIZE have been removed.)  There should be NO negative
performance impact either.  Note that the "obvious" changes could have caused
performance impacts (making vm_offset_t's long long --- evil thing to do.)
Only a few data structure items have increased in size :-).

John
dyson@freebsd.org