From owner-freebsd-current@FreeBSD.ORG Sat Feb 7 21:09:26 2009 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 5C16C106564A for ; Sat, 7 Feb 2009 21:09:26 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: from relay0.elcom.ru (relay0.elcom.ru [84.53.200.16]) by mx1.freebsd.org (Postfix) with ESMTP id 0EB958FC1E for ; Sat, 7 Feb 2009 21:09:25 +0000 (UTC) (envelope-from freebsd@masm.elcom.ru) Received: by relay0.elcom.ru (Postfix, from userid 65534) id C7965506B2; Sun, 8 Feb 2009 00:01:40 +0300 (MSK) Received: from conroe. (static-241-239.domolink.elcom.ru [84.53.241.239]) (Authenticated sender: p3ccmasm) by relay0.elcom.ru (Postfix) with ESMTPA id AA9CA506AC for ; Sun, 8 Feb 2009 00:01:40 +0300 (MSK) Date: Sun, 8 Feb 2009 00:01:32 +0300 From: "Victor M. Blood" X-Mailer: The Bat! (v3.80.06) Professional Organization: Home Programming Inc. X-Priority: 3 (Normal) Message-ID: <1572322913.20090208000132@masm.elcom.ru> To: All MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: boot2.c need change or not. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 21:09:26 -0000 Hi, All. for my configuration with ntld realy need change of boot2.c file, may be we can add option `BOOT_CONFIG_LINE' to kernel build instead of use /boot.config ? /* Process configuration file */ autoboot = 1; #if (defined(BOOT_CONFIG_LINE)) memcpy(cmd, BOOT_CONFIG_LINE, sizeof(BOOT_CONFIG_LINE)); #else if ((ino = lookup(PATH_CONFIG))) fsread(ino, cmd, sizeof(cmd)); #endif -- With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656