On Thursday, 22 May 2003 at 20:32:09 -0700, Chris Palmer wrote:
Aharon Robbins writes:
long
nblock(size)
long size;
{
return((size+511)>>9);
}
Unfortunately I can't answer any of your questions; I can only ask a new
one: What's with that "511" in there?
Sector size - 1, just like the 9 is log(2) (511). It converts bytes
to sectors.
Greg
--
Finger grog(a)lemis.com for PGP public key
See complete headers for address and phone numbers