Subject: Re: Supporting sector size != DEV_BSIZE
To: Bill Studenmund <wrstuden@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: tech-kern
Date: 06/05/2002 08:47:34
On Wed, 5 Jun 2002, Bill Studenmund wrote:

# > I think you don't see what it's doing up there.
# >
# > fsbtodb converts filesystem _blocks_ to physical sectors, not frags.
#
# Yes, and at this level of the code, a file system block is a fragment.
# i.e. on an 8k/1k ffs, dbtofsb() converts to the 1k things, not the 8k
# things.

What?!?

You mean to tell me that fs_bsize is representative of the fragment size
and not the block size...?

That's confusing to read.  Why isn't it using fs_fsize instead?

#
# Take care,
#
# Bill
#
#


				--*greywolf;
--
NetBSD: Use the ENTIRE computer!