Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 1999 01:54:53 +0100 (CET)
From:      Andrzej Bialecki <abial@webgiro.com>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        Chuck Robey <chuckr@mat.net>, Andrzej Bialecki <abial@nask.pl>, freebsd-hackers@freebsd.org
Subject:   Re: HEADS UP: new loader.rc stuff
Message-ID:  <Pine.BSF.4.05.9903150135270.1677-100000@freja.webgiro.com>
In-Reply-To: <36EBF364.E33203BD@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

//  <abial@webgiro.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903150135270.1677-100000>