From owner-freebsd-current@FreeBSD.ORG Wed Apr 16 13:00:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64F4637B401 for ; Wed, 16 Apr 2003 13:00:37 -0700 (PDT) Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA2EB43F85 for ; Wed, 16 Apr 2003 13:00:36 -0700 (PDT) (envelope-from fluid@sfmidimafia.com) Received: from sfmidimafia.com (stalwart.codysbooks.COM [209.133.54.175]) by neptune.he.net (8.8.6p2003-03-31/8.8.2) with ESMTP id NAA25570; Wed, 16 Apr 2003 13:00:24 -0700 Message-ID: <3E9DB668.9020502@sfmidimafia.com> Date: Wed, 16 Apr 2003 13:00:40 -0700 From: "Scott R." Organization: Cody's Books User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030404 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Nelson References: <3E9DB047.50202@sfmidimafia.com> <33139.1050522262@critter.freebsd.dk> <20030416194804.GC7923@dan.emsphone.com> In-Reply-To: <20030416194804.GC7923@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Poul-Henning Kamp cc: freebsd-current@freebsd.org Subject: Re: Possibly silly question about creating entries in /dev X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 20:00:37 -0000 Dan Nelson wrote: > In the last episode (Apr 16), Poul-Henning Kamp said: > >>In message <3E9DB047.50202@sfmidimafia.com>, "Scott R." writes: >> >>>This may be a stupid question, but hopefully it is easily >>>answerable. I've done some poking around on the man page for devfs >>>and I can't really find anything that tells me how to create a >>>"fictitious" entry. Some apps that play or read cd's need the >>>device /dev/cdrom to exist for them to work. I can create a link >>>manually just using ln -sf /dev/acd0 /dev/cdrom and the entry will >>>stay there until I reboot the machine. Upon reboot, the entry is >>>wiped out as devfs re-initializes itself (this is my guess anyway). >>>Can anyone tell me how to properly create these types of device >>>entries so that they are recreated each time the system boots? >>>There's either not much documentation on this subject or I'm just >>>not looking in the right place. Pointers and suggestions will be >>>greatly appreciated. >> >>I belive /etc/rc.devfs was meant for this sort of stuff, but I am not >>sure I know if this is still politically correct in RCng days. > > > /etc/rc.d/devfs will source /etc/rc.devfs if it exists, so it will > still work. Sure 'nuff, there it is! Thanks for the pointer. I was hoping the answer would be this simple. :)