From owner-freebsd-questions Mon Mar 20 10:24:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fremont.bolingbroke.com (adsl-216-102-90-210.dsl.snfc21.pacbell.net [216.102.90.210]) by hub.freebsd.org (Postfix) with ESMTP id E3DD637B536 for ; Mon, 20 Mar 2000 10:24:24 -0800 (PST) (envelope-from hacker@bolingbroke.com) Received: from fremont.bolingbroke.com (fremont.bolingbroke.com [216.102.90.210]) by fremont.bolingbroke.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id KAA73091; Mon, 20 Mar 2000 10:24:23 -0800 (PST) Date: Mon, 20 Mar 2000 10:24:23 -0800 (PST) From: Ken Bolingbroke To: freebsd-questions Cc: Chen Xu Subject: Re: ???the existence of /etc/rc.conf causes problematic init In-Reply-To: <20000320130842.A22740@saturn.med.nyu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Mar 2000, Chen Xu wrote: > However, after doing: > #cp /etc/defaults/rc.conf /etc/rc.conf Don't do that. > ".: out of file descripter" Your problem is that /etc/defaults/rc.conf is set to run /etc/rc.conf. By copying it straight over to /etc/rc.conf, you've created a loop that runs itself over and over again, until it runs out of file descriptors. Instead of copying the file over, just take the appropriate line from /etc/defaults/rc.conf and put them into /etc/rc.conf. I do it this way: First, find the lines I need, ie; if I want to enable the mouse: grep mouse /etc/defaults/rc.conf If that all looks right, then I do: grep mouse /etc/defaults/rc.conf >> /etc/rc.conf And then edit /etc/rc.conf to suit taste. And of course, maintain backups of /etc/rc.conf before making changes. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message