Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2000 11:37:50 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        mjacob@feral.com
Cc:        Mike Smith <msmith@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: loading modules from within the kernel....
Message-ID:  <394992FE.AD77955E@newsguy.com>
References:  <Pine.BSF.4.05.10006141411230.4094-100000@semuta.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jacob wrote:
> 
> > Of course, this brings to light the fact that I don't think we support
> > "soft" dependancies, ie. load-this-if-you-can-but-don't-fail-if-you-can't.
> 
> Oh, err, uh, that's gotta be fixed. Let the caller/invoker of a load action
> decide what the policy for failure is.

That won't work on loader(8), since no code gets executed at that point.

> > The current school of thought for solving this would be to have your
> > firmware load as a plain container in a fashion similar to the way we
> > load the MFS root image, and then use preload_search_by_type() to locate
> > it.
> 
> Does this approach use functions/APIs that are likely to not change for a
> while?

AFAIK, they haven't changed since splash screen & loader(8) were first
introduced, back in... october or november 1998.

-- 
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org
capo@the.great.underground.bsdconpiracy.org

		"He is my minion, so he doesn't need a name."




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?394992FE.AD77955E>