From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 01:50:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0652F1065672 for ; Wed, 2 Feb 2011 01:50:46 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id B75C98FC16 for ; Wed, 2 Feb 2011 01:50:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p121oa73004251; Tue, 1 Feb 2011 18:50:36 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p121oZ0x004248; Tue, 1 Feb 2011 18:50:35 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 1 Feb 2011 18:50:35 -0700 (MST) From: Warren Block To: Patrick Mahan In-Reply-To: Message-ID: References: <4D48257F.7030800@ifdnrg.com> <32AB5C9615CC494997D9ABB1DB12783C024CC075B2@SJ-EXCH-1.adaranet.com> <20110201195213.GR75125@dan.emsphone.com> <32AB5C9615CC494997D9ABB1DB12783C024CC075D8@SJ-EXCH-1.adaranet.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Tue, 01 Feb 2011 18:50:36 -0700 (MST) Cc: Paul Macdonald , Dan Nelson , "freebsd-questions@freebsd.org" Subject: RE: serial config handbook: /boot.conf or /boot.config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 01:50:46 -0000 On Tue, 1 Feb 2011, Warren Block wrote: > On Tue, 1 Feb 2011, Patrick Mahan wrote: > >> It's at the root - >> >> # echo /boot.conf >> -P > > Line 78 of sys/boot/i386/boot2/boot2.c says: > > #define PATH_CONFIG "/boot.config" > > Also, there's boot.config(5). If boot.conf also works, maybe it's only > looking for a match on the first 8 or 9 characters. Just tested this on an 8.1-stable VM, with a file containing only a "-s" (no quotes): /boot.conf - no effect /boot.config - boots into single-user mode