Re: saving kernel configuration file into the kernel itself
- From: Martin Tournoij <carpetsmoker@xxxxxxxxx>
- Date: Sat, 31 Mar 2007 21:45:55 +0200
On Sat 31 Mar 2007 20:03, lalev@xxxxxxxxxxxxxxx wrote:
I remember that in FreeBSD 4 there was a way to include configuration file
in the kernel being compiled, but I could not remember what it was and I
could not find it in the handbook. Is there such feature in FreeBSD 6 ?
From /usr/src/sys/conf/NOTES :
# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
# strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL
#
options INCLUDE_CONFIG_FILE # Include this file in kernel
Also check out /usr/src/sys/i386/conf/NOTES
Replace i386 with your arch.
-- Martin
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Prev by Date: deleting file '--preserve-permissions'
- Next by Date: Re: USB HD Problems Version 6.2 i386
- Previous by thread: saving kernel configuration file into the kernel itself
- Next by thread: FreeBSD 6.1 kernel panic
- Index(es):
Relevant Pages
|
|