Skip site navigation (1)Skip section navigation (2)
Date:      20 Jan 2005 09:48:52 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Trey Sizemore <trey@fastmail.fm>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Detecting CD devices
Message-ID:  <44ekggrwa3.fsf@be-well.ilk.org>
In-Reply-To: <1106179298.88794.11.camel@localhost>
References:  <1106092051.88794.5.camel@localhost> <44zmz5m8na.fsf@be-well.ilk.org> <1106179298.88794.11.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Trey Sizemore <trey@fastmail.fm> writes:

> On Wed, 2005-01-19 at 16:06 -0500, Lowell Gilbert wrote:
> > What device are those applications looking for?  
> > 
> > Perhaps (just a guess) they're looking for /dev/cdrom or /dev/cd0 and
> > you only have /dev/acd0?
> 
> I'm not sure.  I thought I remember there being a way to 'alias' the
> devices such that /dev/cdrom, /dev/dvd, etc. could point to the same
> device such that programs would find them.  Is this the case?  How would
> fstab look?

fstab(5) is irrelevant; that has to do with mounting filesystems.

What you're thinking of is called a "symbolic link" (see ln(1)).
On 5.x, you can configure devfs(8) to make links for you.
/etc/devfs.conf comes with an example for making a link from /dev/acd0
to /dev/cdrom.



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