From owner-freebsd-multimedia Sun Aug 30 21:48:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA23849 for freebsd-multimedia-outgoing; Sun, 30 Aug 1998 21:48:52 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA23841 for ; Sun, 30 Aug 1998 21:48:48 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id EAA07261; Mon, 31 Aug 1998 04:52:23 +0200 From: Luigi Rizzo Message-Id: <199808310252.EAA07261@labinfo.iet.unipi.it> Subject: Re: How to PnP without booting -c?gy To: freebsd-multimedia@FreeBSD.ORG Date: Mon, 31 Aug 1998 04:52:23 +0200 (MET DST) In-Reply-To: <199808302341.BAA07827@dorifer.heim3.tu-clausthal.de> from "Oliver Fromme" at Aug 31, 98 01:40:44 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > unless it can save the configuration back into the kernel on the nfs > > server you need to reset the pnp info all the times. > > It can (just as usual: dset is called by /etc/rc), the > root partition is mounted read/write. ok (i was asking because i use a shared readonly root for diskless machines) > > You can do like this. Since a copy of the kernel config file is usually > > stored into the kernel, you can patch the userconfig code so that it > > scans the copy and when it finds some magic string passes it to > > userconfig. > > Now that sounds like an ugly hack. :-) the difference between ### USERCONFIG ### pnp 1 0 os enable port0 0x220 and USERCONFIG pnp 1 0 os enable port0 0x220 is just in the leading chars on the line but that saves you from modifying the config program syntax. luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message