From owner-freebsd-hackers Sun Mar 14 16:55: 8 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from freja.webgiro.com (10.0.29.209.212.in-addr.arpa [212.209.29.10]) by hub.freebsd.org (Postfix) with ESMTP id CAC851509A for ; Sun, 14 Mar 1999 16:55:06 -0800 (PST) (envelope-from abial@webgiro.com) Received: by freja.webgiro.com (Postfix, from userid 1001) id B074C18C2; Mon, 15 Mar 1999 01:54:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by freja.webgiro.com (Postfix) with ESMTP id AD0814992; Mon, 15 Mar 1999 01:54:56 +0100 (CET) Date: Mon, 15 Mar 1999 01:54:53 +0100 (CET) From: Andrzej Bialecki To: "Daniel C. Sobral" Cc: Chuck Robey , Andrzej Bialecki , freebsd-hackers@freebsd.org Subject: Re: HEADS UP: new loader.rc stuff In-Reply-To: <36EBF364.E33203BD@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Mar 1999, Daniel C. Sobral wrote: > > sure how it affects the other set of lines I've been told to stick into > > loader.rc: > > > > load kernel > > load -t userconfig_script /boot/kernel.conf > > autoboot 10 > > > > I see now, the center of those lines is the one that loads my > > kernel.conf ... which is nearly the output of kget. I'd thought that > > kget might have a file to write to hardcoded, so I was confused when it > > appeared that either /kernel.config OR /boot/kernel.conf appeared to > > have duplicate functions ... in my README, I think I can say that > > they're the same file, and since /boot/kernel.conf is the way things are > > going, to get rid of /kernel.config. > > /kernel.config was used before 3.1. That's why the confusion, and > you might want to clear that up on the README. Any comments here, > Andrzej? Well, it really doesn't matter what you call this file, because you explicitly load it by name. From my POV both locations are good, but the /boot/kernel.conf seems a bit more fashionable... :-) > > Kget seems also to stick in an extra line, either "q" or "quit", after > > the pnp line it finds from the userconfig process. I think I can tell > > users to clip that off, right? > > I don't know. :-) Andrzej? I _think_ you have to use 'quit' as the last command in the script, otherwise it will loop endlessly awaiting next command. But I know someone rewrote this piece of UserConfig after I tried to correct its logic, so I'm not sure. Can you check? > > BTW, I notice that kget doesn't install it's man page .. why, do you > > know that? > > Andrzej? Yes, I know why. I mean, I didn't have time to play with nroff. Besides, some people didn't feel comfortable with putting it as a complete replacement of dset, because of the way it treats the previous /kernel.config [namely, it ignores it]. This is somewhat complicated issue: what should you do with the previous contents of your /kernel.config? Preserve it? Merge it? Ignore it? So, I would need to get something like a consensus from users on what should really be done, and then we could move kget to some normal place in the tree (together with a man page). Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message