Subject: passing in the booted kernel name...?
To: None <port-sparc@netbsd.org, tech-kern@netbsd.org>
From: Segmentation Violation. Core dumped. <greywolf@starwolf.com>
List: tech-kern
Date: 01/08/1999 11:14:58
Please forgive my addlepatedness on this issue; I seem to recall a
discussion on this in the past, but...

Since the -s flag seems to get passed on to init at boot time, this seems
to indicate that the kernel and args from the boot prom get passed in.

What I'm asking is:  Is there any way for the kernel to make this information
available to userland?  Never mind what I'd like to do with it, because
I seem to remember words like "unreliable" and "alternate filesystem" and
"what if you blah" floating around in the discussion.  I don't even care
too much for its supposed reliability (i.e. in the case of a non-resident
kernel which will never be heard from again), I just want to know:  is it
possible?



				--*greywolf;
--
912559 12648430 5UCK5 R0CK5.