From owner-freebsd-questions Sat Jan 6 09:29:09 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA05503 for questions-outgoing; Sat, 6 Jan 1996 09:29:09 -0800 (PST) Received: from fang.cs.sunyit.edu (fang.cs.sunyit.edu [192.52.220.66]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA05498 for ; Sat, 6 Jan 1996 09:29:06 -0800 (PST) Received: (from urcf@localhost) by fang.cs.sunyit.edu (8.6.9/8.6.9) id MAA24971 for questions@freebsd.org; Sat, 6 Jan 1996 12:29:05 -0500 Date: Sat, 6 Jan 1996 12:29:05 -0500 From: "Rodney C. Forbes" Message-Id: <199601061729.MAA24971@fang.cs.sunyit.edu> X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: questions@freebsd.org Subject: a couple questions regarding a CDROM changer. Sender: owner-questions@freebsd.org Precedence: bulk I installed a Nakamichi 7 disk CD-ROM changer last night to my FreeBSD-2.1.0-RELEASE system. I had to add the following two blocks to scsiconf.c. Maybe some kind soul would commit them so that any future owners of this device won't have to figure it out.. /* Nakamichi 7 disk CD-ROM changer */ { T_READONLY, T_REMOV, "NRC", "MBR-7" ,"*", "cd", SC_MORE_LUS }, /* Nakamichi 7 disk CD-ROM changer */ { T_READONLY, T_REMOV, "NRC", "MBR-7" ,"any", "cd", SC_MORE_LUS }, Now for my questions... 1. Why wasn't this the other way around? I mean wouldn't it make more sense to keep a list of devices that misbehaved. 2. Do I need to change anything else in the kernel? I mean like a timeout value or something. Here's what is happening: I run a script after rc.local to probe for any available CD-ROM's in known CD-ROM devices and mount them. I booted with two CD-ROM's in the changer (at cd0 and cd1) and one in mcd0. The script should have found them all, but only mounted the one's at cd0 and mcd0. I ran the script again, and it found the one at cd1. My thought was that maybe it took too long to change trays. Any suggestions. 3. How can I read the CD-ROM's label? When mounted under DOS, all drives (including CD-ROM's) have labels. For instance, the FreeBSD-2.1.0 beta CD when mounted under dos says something like "FREEBSD-2.1.0". How can I get this info? -- _ /| \'o.O' urcf@fang.cs.sunyit.edu (Rodney C. Forbes) =(___)= http://fang.cs.sunyit.edu/~urcf/index.html U Be free and open and breezy! Enjoy! Things won't get any better so get used to it.