From owner-freebsd-current Sat Mar 13 17:41:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 8F58214F3C for ; Sat, 13 Mar 1999 17:41:19 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id UAA16382; Sat, 13 Mar 1999 20:39:40 -0500 (EST) Date: Sat, 13 Mar 1999 20:39:39 -0500 (EST) From: Chuck Robey To: "Daniel C. Sobral" Cc: current@FreeBSD.ORG Subject: Re: HEADS UP: new loader.rc stuff In-Reply-To: <36EB037C.B0D9C7BC@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 14 Mar 1999, Daniel C. Sobral wrote: > If you are running -stable This is the -current list, and I'm running current. I don't have the file "userconfig_script" nor /kernel.config. , you'll be able to use it if you import > -current's sys/boot and sys/sys/linker.h, cd /sys/boot ; make depend > && make all install. > > OTOH, you might solve your problem just by adding the following two > lines to /boot/loader.rc > > load kernel > load -t userconfig_script /kernel.config > > and then putting your pnp configuration line on /kernel.config (if > it is not there already). This is good info for current, right? And I don't need to worry about "userconfig_script"? What's load -t do (I don't need a man page, but at least a few words on the -t, please). The pnp line will be the only thing in /kernel.config, that's normal? > > This will work on both current and stable, so I think I ought to > mention it. :-) I am not running stable, it doesn't track all the new config stuff, but I have all the files listed below, it seems. > > Now, back to the loader.rc stuff, in case you _are_ running > -current... it should have installed the following files: > > /boot/loader.4th > /boot/support.4th > /boot/defaults/loader.conf > > The last file is all you really need as example. I was asking about where to stick in the pnp line, and an example of that. I guess it's not loader.conf (I just tested that, it didn't work there). I'm a little leery yet of the load -t because I don't have that userconfig_script file, and I don't know what the load -t does. > > A man page is in the works. It is queued right after the loader man > page, which has been a real drag to write, but I think I might be > committing it today. But the loader.conf man page won't really add > anything for you that is not in /boot/defaults/loader.conf. > > -- > Daniel C. Sobral (8-DCS) > dcs@newsguy.com > dcs@freebsd.org > > "My theory is that his ignorance clouded his poor judgment." > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message