tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: blocksizes



> fs_fsbtodb depends on the block size of the underlying medium.

Does it?  All you need to do is make a mental switch from thinking of
fs_fsbtodb as "filesystem blocks to underlying device blocks" to
thinking of it as "filesystem blocks to interchange blocks", where an
"interchange block" is defined as 512 octets.

Given how non-512-byte-sector devices have historically had their
drivers pretend they're 512-byte-sector devices, this is what it
actually is, after all - it's just that the mapping between interchange
blocks and real device blocks has been handled by the device driver
rather than by MI code.

...or...Am I Missing Something (tm)?

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index