Difference between FreeBSD-7 and FreeBSD-8 in tasting?

Lev Serebryakov lev at serebryakov.spb.ru
Tue Aug 18 07:45:19 UTC 2009


Hello, Poul-Henning.
You wrote 18 августа 2009 г., 11:41:02:

>>  I've found problem. geom_raid5 check cp->provider->sectorsize before
>>g_access() call, and on boot it is zero before g_access() and 512
>>(which is proper value) after this call.

> This is a bug in geom_raid5:
> The sectorsize and mediasize are only valid if you hold a proper access
> to the provider.
  Yep, I understand this. It worked on 7 and worked after proper boot,
(when somebody tasted this providers -- disks --  already), so bug was
well-hidden.

-- 
// Black Lion AKA Lev Serebryakov <lev at serebryakov.spb.ru>



More information about the freebsd-geom mailing list