Subject: Re: xmms patch for raw cds
To: James K. Lowden <jklowden@schemamania.org>
From: Perry E. Metzger <perry@piermont.com>
List: tech-pkg
Date: 02/11/2003 01:24:22
"James K. Lowden" <jklowden@schemamania.org> writes:
> > > Yeah. For that reason, I think it would better to use /dev/cdrom on
> > > all platforms, and on NetBSD, to let the user make /dev/cdrom a
> > > symlink to the desired device.
> > 
> > I think we should make things work well by default. As it stands right
> > now, most users will be happy with cd0 being used to play things, and
> > I think in general we should do what Simon proposes. Rule of least
> > surprise. The user is NOT expecting to need to create a /dev/cdrom and
> > /dev/cdrom goes very much against the NetBSD grain I think.
> 
> The problem as I see it is, there's no way to offer any hint to pkgsrc (or
> applications generally) about what device to use.  There should be some
> notion of a default cdrom, default printer, default floppy, default modem.

There is one. /dev/cd0X is almost ALWAYS the only CD device on the
machine. Similarly, there is almost ALWAYS just /dev/fd0X, etc.

If the user does something else, they can configure it. Give them a
MESSAGE to that effect -- that's what MESSAGE is for.

-- 
Perry E. Metzger		perry@piermont.com