From owner-freebsd-current@FreeBSD.ORG Wed Apr 16 12:35:32 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 A5B6E37B401 for ; Wed, 16 Apr 2003 12:35:32 -0700 (PDT) Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13A9943FDD for ; Wed, 16 Apr 2003 12:35:32 -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 MAA19662 for ; Wed, 16 Apr 2003 12:35:36 -0700 Message-ID: <3E9DB047.50202@sfmidimafia.com> Date: Wed, 16 Apr 2003 12:34:31 -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: freebsd-current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 19:35:32 -0000 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. TIA, Scott