From owner-freebsd-ports Fri Nov 24 2:10:44 2000 Delivered-To: freebsd-ports@freebsd.org Received: from toptk.com (tp085010.seeder.net [202.43.85.10]) by hub.freebsd.org (Postfix) with ESMTP id D8CD337B4D7; Fri, 24 Nov 2000 02:10:38 -0800 (PST) Received: from FreeBSD.org (tc070195.seeder.net [202.43.70.195] (may be forged)) by toptk.com (8.9.3/8.9.3) with ESMTP id SAA23107; Fri, 24 Nov 2000 18:05:48 +0800 Message-ID: <3A1E3DD1.EDC585E5@FreeBSD.org> Date: Fri, 24 Nov 2000 18:07:13 +0800 From: Kevin Lo X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-20001115-BETA i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Pentchev Cc: Jeremy Lea , Keith Walker , ports@FreeBSD.org Subject: Re: FreeBSD Port: kdemultimedia2-2.0 References: <00112309141700.21980@mars.walker.dom> <20001124011019.E79112@shale.csir.co.za> <20001124113500.B330@ringworld.oblivion.bg> Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 /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