*BSD News Article 15238


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!sdd.hp.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!ira.uka.de!smurf.sub.org!flatlin!bad
From: bad@flatlin.ka.sub.org (Christoph Badura)
Subject: Re: (lpa driver) savecore: Can't find device 1/0
Organization: Guru Systems/Funware Department
Date: Tue, 27 Apr 1993 19:46:05 GMT
Message-ID: <C65qwu.BK5@flatlin.ka.sub.org>
References: <C639Ln.7p@veda.is> <1993Apr26.130106.19745@gmd.de> <C63txA.15t@veda.is> <1993Apr27.071539.23505@gmd.de>
Lines: 16

In <1993Apr27.071539.23505@gmd.de> veit@mururoa.gmd.de (Holger Veit) writes:

>In article <C63txA.15t@veda.is>, adam@veda.is (Adam David) writes:
>|> How is (or should be) the name of the currently executed kernel
>|> made available?
>This is difficult, because unless you tell it by yourself, the kernel
>has no chance to find out how it is called itself.

This simples way would of course be that the bootstrap passes the name
of the booted kernel as an additional argument to the kernel which
makes it available through a system call (a new variant to sysconf()?)
-- 
				Christoph Badura  ---  bad@flatlin.ka.sub.org

Personally, I don't care whether someone is cool enough to quote Doug
Gwyn--I only care whether Doug Gwyn is cool enough to quote. -- Larry Wall