Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2011 18:50:35 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Patrick Mahan <PMahan@adaranet.com>
Cc:        Paul Macdonald <paul@ifdnrg.com>, Dan Nelson <dnelson@allantgroup.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: serial config handbook:  /boot.conf or /boot.config
Message-ID:  <alpine.BSF.2.00.1102011846570.4245@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1102011822001.4141@wonkity.com>
References:  <4D48257F.7030800@ifdnrg.com> <32AB5C9615CC494997D9ABB1DB12783C024CC075B2@SJ-EXCH-1.adaranet.com> <20110201195213.GR75125@dan.emsphone.com> <32AB5C9615CC494997D9ABB1DB12783C024CC075D8@SJ-EXCH-1.adaranet.com> <alpine.BSF.2.00.1102011822001.4141@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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