Why does kern.module_path use ";" and not ":"?
C. P. Ghost
cpghost at cordula.ws
Sun Dec 25 18:06:55 UTC 2011
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/
More information about the freebsd-current
mailing list