From owner-freebsd-current Sat Mar 13 16:33:33 1999 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id CE69214EE2 for ; Sat, 13 Mar 1999 16:33:29 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id JAA27045; Sun, 14 Mar 1999 09:33:14 +0900 (JST) Message-ID: <36EB037C.B0D9C7BC@newsguy.com> Date: Sun, 14 Mar 1999 09:31:56 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: Chuck Robey Cc: current@FreeBSD.ORG Subject: Re: HEADS UP: new loader.rc stuff References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Chuck Robey wrote: > > Daniel, I'm having a little trouble getting this to work. I don't see > any kind of example loader.conf, or loader.conf.local, I made the file > you asked, below (/boot/loader.rc) ... I didn't have a loader.conf, so > on boot, it issues me an error on that. I have a new pnp sound card I ... > It would help me if you had an example loader.conf and loader.conf.local > file hanging around ... and maybe an ls -lR /boot, so I'd know I had a > complete set of files. Well, first, this has been introduced only on -current at the present time. I am in no hurry to mfc, because this thing has just been introduced. I want the freedom to make drastic changes, and I'll loose that once it gets on the stable three. If you are running -stable, 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 will work on both current and stable, so I think I ought to mention it. :-) 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. 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." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message