From owner-freebsd-hackers Mon Mar 15 1:13:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 8300514E6B; Mon, 15 Mar 1999 01:12:27 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.2/8.9.2/UCB) id LAA91533; Mon, 15 Mar 1999 11:11:08 +0200 (EET) (envelope-from ru) Date: Mon, 15 Mar 1999 11:11:08 +0200 From: Ruslan Ermilov To: Andrzej Bialecki Cc: sheldonh@FreeBSD.ORG, FreeBSD Hackers Subject: Re: kern/9670: kernel config at boot time via -c gives save option but looses settings Message-ID: <19990315111108.A91476@relay.ucb.crimea.ua> Mail-Followup-To: Andrzej Bialecki , sheldonh@FreeBSD.ORG, FreeBSD Hackers References: <19990315093043.A64525@relay.ucb.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Andrzej Bialecki on Mon, Mar 15, 1999 at 09:41:47AM +0100 X-Operating-System: FreeBSD 3.1-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Mar 15, 1999 at 09:41:47AM +0100, Andrzej Bialecki wrote: > On Mon, 15 Mar 1999, Ruslan Ermilov wrote: > > > I just worried about ERRATA - it is incorrect!!! > > `boot -c' changes are not written into /kernel.config. > > > > In 2.2.8 boot2 worried about reading /kernel.config, > > and dset worried about writing /kernel.config. > > Ehm, not quite. boot2 in 2.2.8 read the boot.conf which was just the boot > flags. The actual changes from UserConfig were being extracted and written > out as binary patches to the kernel (can you say "ugly"?). Or, > alternatively, you could write them manually into /kernel.config, and > they would be automatically read by /kernel, whether you wanted it or not. > > Now, boot2 reads about the same info, but from /boot/boot.conf, but if you > don't load /kernel.config explicitely, /kernel ignores it. > So, what is the current way to save kernel changes? Is it possible without kget? Is ERRATA.TXT correct? -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message