From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 02:31:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89E6216A4CE for ; Sat, 31 Jan 2004 02:31:43 -0800 (PST) Received: from elkins.org (user41.net272.fl.sprint-hsd.net [64.45.235.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBCC243D1D for ; Sat, 31 Jan 2004 02:31:41 -0800 (PST) (envelope-from bsd@elkins.org) Received: from kathix.elkins ([192.168.0.10]) by elkins.org with esmtp (Exim 3.36 #1 (Debian)) id 1AmsPd-0007Bq-00 for ; Sat, 31 Jan 2004 05:31:41 -0500 From: Jeff Elkins To: freebsd-questions@freebsd.org Date: Sat, 31 Jan 2004 05:31:40 -0500 User-Agent: KMail/1.5.4 References: <200401302148.28075.bsd@elkins.org> <401B3BF6.5040700@slavepix.com> In-Reply-To: <401B3BF6.5040700@slavepix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401310531.40935.bsd@elkins.org> Subject: Re: Using the ATAPI/CAM Driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 10:31:43 -0000 On Saturday 31 January 2004 12:24 am, slave-mike wrote: > Jeff Elkins wrote: > >No responses on this yet, but I can hope :) > > > >Another issue: After changing the permissions on the /dev/pass* devices, > >following a reboot, they all reverted, rendering k3b useless. > > > >I'd appreciate some help... > > > >==== > > > >I've enabled the ATAPI/CAM driver in my kernel under freebsd 5.2 - this > > has given me two devices: /dev/cd0 and /dev/cd1. Thus far, I'm able to > > burn CDs/DVDs but I am having trouble mounting them (as root). > > > >If I issue the command: mount /cdrom or mount -t cd9660 /dev/cd0 /cdrom I > > get the message: cd9660: /dev/cd0: Device not configured > > > >However, if I comment out the /dev/cd devices in fstab and enable the acd > >devices: > > > >/dev/acd0 /cdrom cd9660 ro,noauto 0 0 > >/dev/acd1 /cdrom1 cd9660 ro,noauto 0 0 > >#/dev/cd0 /cdrom cd9660 ro,noauto 0 0 > >#/dev/cd1 /cdrom1 cd9660 ro,noauto 0 0 > > > >I'm able to mount w/o problems. > > > >Do I have something misconfigured? > > > >Thanks, > > > >Jeff Elkins > > > > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > look in /etc/devfs.confcd9660: /dev/cd0: Device not configured > > try adding something like: ... > > # Commonly used by many ports > > perm acd0 0660 > link acd0 cdrom > link acd0 rcdrom > link acd0 racd0 > > perm acd1 0660 > link acd1 dvd > link acd1 rdvd > > perm ast0 0660 > link ast0 sa0 > > perm nast0 0660 > link nast0 nsa0 > > perm pass0 0660 > perm pass1 0660 > perm pass2 0660 > perm pass3 0660 > perm scanner0 0660 > > perm ugen0 0660 > perm ugen0.0 0660 > perm ugen0.1 0660 > perm ugen0.2 0660 > perm ugen0.3 0660 > > # Allow a user in the wheel group to query the smb0 device > perm smb0 0660 > > # Allow members of group operator to cat things to the speaker > own speaker root:operator > perm speaker 0660 Thanks. That succeeded in freezing the permissions from boot to boot, but I still get the error "cd9660: /dev/cd0: Device not configured" when I try to mount a cd via the passthrough device: mount -t cd9660 /dev/cd0 /cdrom I _can_ mount cds using the /dev/acd* devices, while using the /dev/cd* devices for writing. Is this the way atapi cdrws are supposed to work under freebsd? Jeff