Q: force/trigger a retaste
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Mar 21 18:41:03 UTC 2008
In message <500B8D5E-A46F-48AF-A835-97C46ED36F91 at mac.com>, Marcel Moolenaar wri
tes:
>What needs to
>happen is that an existing class (i.e. the GPART class) gets to taste
>all existing providers again, so that it can attach to providers it
>previously did not attach to (due to a change in the supported schemes).
>Is this correct?
Broadly speaking yes, but you must fire it off as an event so it
gets run in the event thread, otherwise the locking falls apart.
>Shall I make this a generic GEOM function or keep it private to
>GPART?
Make it generic, I can imagine other uses.
--
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
mailing list