From owner-freebsd-ports Fri Nov 24 2:16: 5 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (pool150-tch-1.Sofia.0rbitel.net [212.95.170.150]) by hub.freebsd.org (Postfix) with SMTP id A9FDC37B4D7 for ; Fri, 24 Nov 2000 02:15:59 -0800 (PST) Received: (qmail 2622 invoked by uid 1000); 24 Nov 2000 10:15:33 -0000 Date: Fri, 24 Nov 2000 12:15:33 +0200 From: Peter Pentchev To: Kevin Lo Cc: Jeremy Lea , Keith Walker , ports@FreeBSD.org Subject: Re: FreeBSD Port: kdemultimedia2-2.0 Message-ID: <20001124121533.A2497@ringworld.oblivion.bg> Mail-Followup-To: Kevin Lo , Jeremy Lea , Keith Walker , ports@FreeBSD.org References: <00112309141700.21980@mars.walker.dom> <20001124011019.E79112@shale.csir.co.za> <20001124113500.B330@ringworld.oblivion.bg> <3A1E3DD1.EDC585E5@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A1E3DD1.EDC585E5@FreeBSD.org>; from kevlo@FreeBSD.org on Fri, Nov 24, 2000 at 06:07:13PM +0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Nov 24, 2000 at 06:07:13PM +0800, Kevin Lo wrote: > 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 That's fine, as far as making the symlink goes :) However, the original poster's (and everyone else's later) point was that the ports/programs should be taught to use /dev/cdrom, and not some arbitrary "default" CDROM device names, which are most probably incorrect on most systems. G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message