Date: Tue, 27 Jan 2004 16:57:39 +0100 (CET) From: Lukas Ertl <l.ertl@univie.ac.at> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: freebsd-geom@freebsd.org Subject: Re: Error checking for g_mod_event() and friends Message-ID: <20040127165312.R92925@pcle2.cc.univie.ac.at> In-Reply-To: <5276.1075218356@critter.freebsd.dk> References: <5276.1075218356@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Jan 2004, Poul-Henning Kamp wrote: > In message <20040127163829.I92925@pcle2.cc.univie.ac.at>, Lukas Ertl writ= es: > > > >Ok, then how do I spawn a complete class from the tasting routine of > >another class? > > You don't. > > You initialize the classes when they are loaded. Once you taste > something you like, you start creating "=FCbergeom"s and what else > you need. Ok, makes sense. So I need to re-think this. What I don't understand right now is: how do I create these "=FCbergeoms"? The problem I'm faced is this: I need to keep a copy of the vinum configuration somewhere where it isn't touched by an occasional orphaning and self-destruction massacre when a disk fails. My idea was to have a separate class VINUM that just holds the config, but isn't actually connected to the I/O path, so the other vinum geoms (for volume, plex, a.s.o.) could peek at the config and decide what to do. Pointers into the right direction are highly appreciated. regards, le --=20 Lukas Ertl eMail: l.ertl@univie.ac.at UNIX Systemadministrator Tel.: (+43 1) 4277-14073 Vienna University Computer Center Fax.: (+43 1) 4277-9140 University of Vienna http://mailbox.univie.ac.at/~le/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040127165312.R92925>