Re: Why does kern.module_path use ";" and not ":"?

From: C. P. Ghost <cpghost_at_cordula.ws>
Date: Sun, 25 Dec 2011 19:06:54 +0100
On Sun, Dec 25, 2011 at 3:55 PM, Stefan Bethke <stb_at_lassitu.de> wrote:
> I just got tripped up by this difference in a minor way.  Is there a particular reason kern_linker uses semicolon as a seperator instead of the more common colon?

A comment in /usr/src/sys/kern/kern_linker.c says:

 * The search path can be manipulated via sysctl.  Note that we use the ';'
 * character as a separator to be consistent with the bootloader.

And the bootloader uses the ';' as path separator, see loader(8):

 bootfile  List of semicolon-separated search path for bootable kernels.
               The default is ``kernel''.

> Stefan
>
> --
> Stefan Bethke <stb_at_lassitu.de>   Fon +49 151 14070811

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
Received on Sun Dec 25 2011 - 17:06:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC