Re: HEADS UP: UFS2 now the default creation type on 5.0-CURRENT

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Mon, 21 Apr 2003 21:02:10 -0700
"Wilkinson,Alex" wrote:
> Thanks for that.
> 
> Do you know if UFS2 dynamically allocates inodes ?

No; it gets them from the prereserved inodes area that is
the result of the "-i" parameter.  The "newfs" program has
not changed that significantly, though the superblock has
changed some.

However, realize that the size of the on disk inode has
doubled in size (from 128 to 256 bytes) because of the new
pointer 64 bit indices.

You should probably look at /usr/src/sys/ufs/ufs/dinode.h.

Also, realize that almost all the other code is the same;
in other words, it's important to know that we are talking
about "UFS2", and *NOT* talking about "FFS2".

In other words, this is about a flat numeric namespace for
files, and the FFS directory structure information that's
layered on top is not really variant, except as necessary
due to implicit layering (a grep for "UFS2" in the files in
/usr/src/sys/ufs/ffs is informative).

-- Terry
Received on Mon Apr 21 2003 - 19:03:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC