Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 16:39:01 +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:  <20040127163829.I92925@pcle2.cc.univie.ac.at>
In-Reply-To: <4926.1075215823@critter.freebsd.dk>
References:  <4926.1075215823@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 <20040127160001.N92925@pcle2.cc.univie.ac.at>, Lukas Ertl writes:
> >
> >In the geom_vinum case I allocate the "main" vinum geom in the init
> >method, and this might fail.
> >
> >(Of course, this might not be the correct way to do it, but I couldn't
> >think of another way.)
>
> You're right, it isn't :-)
>
> You should never allocate anything until you first time taste a disk
> which looks like yours.

Ok, then how do I spawn a complete class from the tasting routine of
another class?

regards,
le

-- 
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?20040127163829.I92925>