Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 16:05:54 +0200
From:      Christopher Sharp <csharp@freeshell.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: devfs question
Message-ID:  <20020625140554.GA5113@web.de>
In-Reply-To: <200206251231.FAA02109@eskimo.com>
References:  <200206251231.FAA02109@eskimo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On (25/06/02 05:31), Ross Lippert wrote:
> Date: Tue, 25 Jun 2002 05:31:31 -0700 (PDT)
> From: Ross Lippert <ripper@eskimo.com>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020625140554.GA5113>