From owner-freebsd-current@FreeBSD.ORG Wed Apr 16 12:46:48 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 3A1B937B401 for ; Wed, 16 Apr 2003 12:46:48 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84BB343FF3 for ; Wed, 16 Apr 2003 12:46:47 -0700 (PDT) (envelope-from support@westbend.net) Received: from Admin02 (admin02.westbend.net [216.47.253.19]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h3GJkksb059199; Wed, 16 Apr 2003 14:46:46 -0500 (CDT) (envelope-from support@westbend.net) Message-ID: <02d301c30450$f96311a0$13fd2fd8@Admin02> From: "West Bend Support" To: "Scott R." , References: <3E9DB047.50202@sfmidimafia.com> Date: Wed, 16 Apr 2003 14:47:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-milter (http://amavis.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 19:46:48 -0000 From: "Scott R." > 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. > put the command to create the device in /etc/rc.devfs Scot