Subject: Re: Addiind a new filesystem support
To: Luke Mewburn <lukem@wasabisystems.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 05/06/2002 10:54:26
On Sun, 5 May 2002, Luke Mewburn wrote:

> On Fri, May 03, 2002 at 05:11:42PM -0400, Bill Sommerfeld wrote:
>   | > FFS is 64bit and has been for a long time.
>   |
>   | Well, sort of.  it can handle files larger than 2^32 bytes, but it's
>   | not fully 64-bit.
>   |
>   | FFS still uses 32-bit block pointers, which causes it to max out at a
>   | filesystem size of 2^41 or so.
>
> 2^40 IIRC (31 bits, because it's unsigned).  Try:
> 	newfs -N -s 1023g -F somefile
> (or, if you want "somefile" to be a "holey" file with all the metadata,
> remove the -N)

I think we can go a bit farther than that. We can go to a 32k/4k ffs, and
then get 2^31*2^12 bytesm or 2^42. We will of course be wasteful for small
files. ;-)

Take care,

Bill