Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2011 19:06:54 +0100
From:      "C. P. Ghost" <cpghost@cordula.ws>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Why does kern.module_path use ";" and not ":"?
Message-ID:  <CADGWnjXrM4SVbveUM64cHghp1P0tGESgY8NAdqM791N8sTbuBg@mail.gmail.com>
In-Reply-To: <D1268B79-469B-4A1E-8E1C-69C30979AFCA@lassitu.de>
References:  <D1268B79-469B-4A1E-8E1C-69C30979AFCA@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 25, 2011 at 3:55 PM, Stefan Bethke <stb@lassitu.de> wrote:
> I just got tripped up by this difference in a minor way. =A0Is there a pa=
rticular reason kern_linker uses semicolon as a seperator instead of the mo=
re 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@lassitu.de> =A0 Fon +49 151 14070811

Regards,
-cpghost.

--=20
Cordula's Web. http://www.cordula.ws/



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