Subject: Re: kvm
To: None <>
From: Jason Thorpe <>
List: tech-kern
Date: 08/21/1997 07:21:55
On Wed, 20 Aug 1997 19:13:34 -0400 
 "Perry E. Metzger" <> wrote:

 > > What should the sysctl name return for kernel names that are known but
 > > aren't (necssarily) in the fileystem namespace, like tftp-booted
 > > kernels?
 > Probably the empty string, or something "special" again...
 > Maybe another sysctl should indicate if the thing was booted from a
 > file or off the net...


Uh, no.

If such a sysctl existed, it should:

	- return the path name of the booted kernel (make sure a "/" is
	  prepended to the name) if known.
	- If not known, return "/netbsd".  This clause gives the present
	  semantics without adding special cases in scripts.
	- In the case of "tftp booted kernel", just return the name per
	  the first clause.  You're no worse off than you are now, and
	  it will encourage non-use of tftp for loading kernels :-)

Jason R. Thorpe                             
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 415 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939