Current-Users archive

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

Re: Recent netbsd-5 changes seem to make (autoconfig) raidframe trouble

On Dec 2,  4:03pm, (Greg Oster) wrote:
-- Subject: Re: Recent netbsd-5 changes seem to make (autoconfig) raidframe t

| Sorry for the delay in responding...  :( 
| I think all we need to do is to make a call to getdisksize() were
| numBlocksHi is being set in rf_disks.c:rf_AutoConfigureDisks().  The
| necessary ac->vp sitting right there, so that should be easy.  It's
| then just a matter of determining if ((numBlocksHi<<32)+numBlocks) is
| larger than the size that the disklabel claims.  (and, if so,
| discounting the numBlocksHi field, and setting it back to zero so that
| it's correct the next time...)

That's sounds ok, but why not use the version number to determine if
they are populated or not like I was suggesting in the first place?


Home | Main Index | Thread Index | Old Index