FFS addressing unit
Yar Tikhiy
yar at freebsd.org
Wed Aug 6 05:28:18 PDT 2003
On Mon, Aug 04, 2003 at 03:58:18PM +0400, Yar Tikhiy wrote:
>
> While poring over <ufs/ffs/fs.h> in order to better understand the
> internals of FFS, I noticed that there is a number of comments in
> the file refering to a certain "filesystem address." There is also
> a macro named fsbtodb() for turning "filesystem block numbers into
> disk block addresses," according to its description. However, it
> seems to be the fragment size that actually serves as the filesystem
> addressing unit in all the relevant super-block fields, including
> fs_fsbtodb. Is my conclusion correct? If so, I'd rather clarify
> those comments, so new developers won't confuse fragments with
> blocks when doing RTFS.
For interested parties: I've been told in a private reply that it
was indeed a fragment that was a primary addressing unit in FFS.
--
Yar
More information about the freebsd-fs
mailing list