Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 18:07:13 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        Jeremy Lea <reg@FreeBSD.org>, Keith Walker <kew@icehouse.net>, ports@FreeBSD.org
Subject:   Re: FreeBSD Port: kdemultimedia2-2.0
Message-ID:  <3A1E3DD1.EDC585E5@FreeBSD.org>
References:  <00112309141700.21980@mars.walker.dom> <20001124011019.E79112@shale.csir.co.za> <20001124113500.B330@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev wrote:

> On Fri, Nov 24, 2000 at 01:10:19AM -0800, Jeremy Lea wrote:
> > Hi,
> >
> > On Thu, Nov 23, 2000 at 09:14:17AM -0800, Keith Walker wrote:
> > > 3) This one's tougher, since we don't know which cdrom device we should
> > > support, but /dev/rmatcd0c is definitely *not* it. I mean, does *anyone* have
> > > one of these anymore? Anyway, the file ".../kscd/libwm/include/wm_config.h"
> > > at line 131 should be changed to "/dev/cdrom" or "/dev/racd0c" or something.
> > > I use "/dev/cdrom" and do the linux-like symlink to the proper cd device on
> > > my system.
> >
> > This problem is not specific to kdemultimedia.  I personally would like
> > to see all ports configured to use /dev/cdrom by default, and have
> > MAKEDEV create a symlink.  That way users can specify their 'default'
> > CD-ROM, and don't need to tweak ports unless they have more than one
> > CD-ROM.
>
> Yes, this sounds like a good idea - a default cdrom device, settable
> by the user.  It does not even apply to ports only - cdcontrol could
> check for such a default device too, instead of assuming a SCSI CD.
> (And yes, I have a MUSIC_CD variable set in my /etc/profile; but
>  does every program ever executed inherit /etc/profile settings? :)
>
> There's just one minor point there - I think this is the user's
> responsibility to set, not MAKEDEV's.  How should MAKEDEV know which
> device to create a symlink to? Examine fstab? examine dmesg output?
> Naaaahh :)

How about using the instruction:

ln -sf <cdrom_device> /dev/cdrom

> G'luck,
> Peter
>
> --
> Nostalgia ain't what it used to be.

- Kevin




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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