From owner-freebsd-questions@FreeBSD.ORG Sat Feb 7 22:25:44 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB74C106564A for ; Sat, 7 Feb 2009 22:25:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7BF1F8FC0A for ; Sat, 7 Feb 2009 22:25:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-52-176.dynamic.qsc.de [92.196.52.176]) by mx01.qsc.de (Postfix) with ESMTP id 3C5F13CF06; Sat, 7 Feb 2009 23:25:44 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n17MPc7k001628; Sat, 7 Feb 2009 23:25:38 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 7 Feb 2009 23:25:38 +0100 From: Polytropon To: Akenner Message-Id: <20090207232538.463917f5.freebsd@edvax.de> In-Reply-To: <498DD48C.6040409@comcast.net> References: <498DD2DE.803@comcast.net> <498DD48C.6040409@comcast.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Playing audio CDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2009 22:25:45 -0000 On Sat, 07 Feb 2009 13:35:56 -0500, Akenner wrote: > I found in the handbook that I could try this: > > /sbin/mount /cdrom > > I then saw this: > > /dev/cd0: device not configured. This refers to the fact that the device does not contain an ISO-9660 formatted media. > Apparently typing /sbin first made it give me a different error message, > I'm just trying to find hwo to configure a drive now. would > /stand/sysinstall work for this? No. The "device is configured" via the /etc/fstab file that controls how to mount the disc, e. g. # Device Mountpoint FStype Options Dump Pass# # ----------- --------------------- ------ ------------- ----- ----- /dev/acd0 /cdrom cd9660 ro,noauto 0 0 This will "expand" your command % mount /cdrom to something like % mount -t cd9660 -o ro /dev/acd0 /cdrom Also, keep in mind the permissions: You need +r for the device, and you have to be the owner of the mount target directory. Furthermore, users must be allowed to mount media which is controlled by the setting vfs.usermount=1 that is to be put into /etc/sysctl.conf. But as I mentioned before, you cannot mount an audio CD; imagine that it's "technically" impossible. :-) (Of course, this says nothing about that you cannot copy audio tracks, convert them into OGG/Vorbis or duplicate discs 1:1, which is ALL possible.) A final note: I see you're using /dev/cd0 for your CD drive. What about using acd0 instead (if it's an ATAPI drive)? You can specify /dev/cd0 as $CDROM if you've got a SCSI device, but then, due to permissions, I think you need to set proper access rules for the xpt device, too. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...