From owner-freebsd-hackers Sun Mar 14 23:33:59 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 16B5814EE1; Sun, 14 Mar 1999 23:32:31 -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 JAA65549; Mon, 15 Mar 1999 09:30:43 +0200 (EET) (envelope-from ru) Date: Mon, 15 Mar 1999 09:30:43 +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: <19990315093043.A64525@relay.ucb.crimea.ua> Mail-Followup-To: Andrzej Bialecki , sheldonh@FreeBSD.ORG, FreeBSD Hackers References: <19990314180852.A7460@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 02:03:07AM +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 02:03:07AM +0100, Andrzej Bialecki wrote: > On Sun, 14 Mar 1999, Ruslan Ermilov wrote: > > > o Kernel change information is not saved in the new kernel, even > > though this is claimed to work in the docs. > > > > Fix: The change information is being written out, in fact, but to the > ^^^^^^^^^^^^^^^^^^^^ > Hmm... Really? What writes this info? > > > I can't get your fix to work. > > > > I've made `boot -c' changes, and `sysctl machdep.uc_devlist' produces > > non-null output, but the /kernel.config is empty. > > > > Any clue? > > Either create /kernel.config manually, or run kget (available in > src/release/picobsd/tinyware/kget). > > Andrzej Bialecki > Yes, I know, it's your child. And in -CURRENT it is available as src/sbin/kget/. 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. Thanks, -- 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