From owner-freebsd-questions Tue Jun 25 7: 4:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from csharp.dyndns.org (p50871914.dip.t-dialin.net [80.135.25.20]) by hub.freebsd.org (Postfix) with ESMTP id EA13A37B400 for ; Tue, 25 Jun 2002 07:04:28 -0700 (PDT) Received: from mephisto by csharp.dyndns.org with local (Exim 4.05) id 17Mqx9-0001oa-00 for freebsd-questions@freebsd.org; Tue, 25 Jun 2002 16:05:55 +0200 Date: Tue, 25 Jun 2002 16:05:54 +0200 From: Christopher Sharp To: freebsd-questions@freebsd.org Subject: Re: devfs question Message-ID: <20020625140554.GA5113@web.de> Mail-Followup-To: freebsd-questions@freebsd.org References: <200206251231.FAA02109@eskimo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206251231.FAA02109@eskimo.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On (25/06/02 05:31), Ross Lippert wrote: > Date: Tue, 25 Jun 2002 05:31:31 -0700 (PDT) > From: Ross Lippert > To: freebsd-questions@freebsd.org > Subject: devfs question > I'm writing a section for the handbook on multimedia and I have a question > about devfs. I am not running CURRENT, so I do not know much about how to > set devfs up. > The basic problem is this: many dvd playing apps either use as default > or use hardcoded (god forbid, but it happens) /dev/dvd as the dvd device. > And, to avoid having to run them as root, write permissions must be granted. > So, what you'd like to have is > # chmod 664 /dev/acd0c > # ln -sf /dev/acd0c /dev/dvd > # ln -sf /dev/acd0c /dev/rdvd > Under 5.X, I seem to recall seeing somewhere that there is some sort > of conf file in which one can specify this setup so that these > commands do not need to be re-run at boot every time. > Can someone tell me what is the right bit of magic I should tel people > to do? Just add the above commands to /etc/rc.devfs -- Any time things appear to be going better, you have overlooked something. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message