Difference between FreeBSD-7 and FreeBSD-8 in tasting?
phk at phk.freebsd.dk
Tue Aug 18 07:56:47 UTC 2009
In message <852978746.20090818113833 at serebryakov.spb.ru>, Lev Serebryakov write
> 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.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-geom