Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 15:58:18 +0400
From:      Yar Tikhiy <yar@freebsd.org>
To:        fs@freebsd.org
Subject:   FFS addressing unit
Message-ID:  <20030804115818.GA68027@comp.chem.msu.su>

next in thread | raw e-mail | index | archive | help
Hi there,

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.

-- 
Yar



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030804115818.GA68027>