Date: Wed, 6 Aug 2003 16:28:13 +0400 From: Yar Tikhiy <yar@freebsd.org> To: fs@freebsd.org Subject: Re: FFS addressing unit Message-ID: <20030806122813.GA9346@comp.chem.msu.su> In-Reply-To: <20030804115818.GA68027@comp.chem.msu.su> References: <20030804115818.GA68027@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030806122813.GA9346>