serial config handbook: /boot.conf or /boot.config
Warren Block
wblock at wonkity.com
Wed Feb 2 01:50:46 UTC 2011
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
More information about the freebsd-questions
mailing list