From owner-freebsd-current@FreeBSD.ORG Sun Dec 25 18:06:55 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D1921065677 for ; Sun, 25 Dec 2011 18:06:55 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB5F8FC1D for ; Sun, 25 Dec 2011 18:06:54 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so9315907obb.13 for ; Sun, 25 Dec 2011 10:06:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.192.103 with SMTP id hf7mr19651101obc.29.1324836414049; Sun, 25 Dec 2011 10:06:54 -0800 (PST) Received: by 10.182.220.33 with HTTP; Sun, 25 Dec 2011 10:06:54 -0800 (PST) X-Originating-IP: [93.221.170.138] In-Reply-To: References: Date: Sun, 25 Dec 2011 19:06:54 +0100 Message-ID: From: "C. P. Ghost" To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Why does kern.module_path use ";" and not ":"? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2011 18:06:55 -0000 On Sun, Dec 25, 2011 at 3:55 PM, Stefan Bethke 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 =A0 Fon +49 151 14070811 Regards, -cpghost. --=20 Cordula's Web. http://www.cordula.ws/