Jan Winter <jan.winter(at)hamburg.de> wrote:
> [...]
> ich die Kernel-Config vom falschen Rechner kopiert, nun kann ich noch
> mal von vorne anfangen....
> Gibt es da eine Möglichkeit meine options wie auszulesen?
Per Default leider nicht.
Man sollte grundsätzlich »options INCLUDE_CONFIG_FILE« in
seinen Kernel mit aufnehmen (mir ist unklar, warum das
nicht der Default ist). Hat man jene Option drin, kann
man die Kernel-config folgerndermaßen zurückgewinnen:
strings -n3 /boot/kernel/kernel | sed -n 's/^___//p'
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "File names are infinite in length, where infinity is set to 255 characters." -- Peter Collinson, "The Unix File System" To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Thu 24 Aug 2006 - 15:59:14 CEST