Detecting CD devices

Lowell Gilbert freebsd-questions-local at
Thu Jan 20 06:48:55 PST 2005

Trey Sizemore <trey at> 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.

More information about the freebsd-questions mailing list