*BSD News Article 89588


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsxfer.itd.umich.edu!news2.acs.oakland.edu!newsfeed.concentric.net!news-master!news
From: dantso@cris.com (Daniel Ts'o)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Pioneer DRM-602X
Date: Wed, 19 Feb 97 10:32:20 GMT
Organization: The Rockefeller University
Lines: 40
Message-ID: <5eehft$p79@chronicle.concentric.net>
References: <5e71b1$a21@two.woodyware.com> <33090562.997776@news.ptd.net> <5edjoq$n6s@two.woodyware.com>
NNTP-Posting-Host: crc4.cris.com
X-Newsreader: News Xpress Version 1.0 Beta #4
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35722

In article <5edjoq$n6s@two.woodyware.com>,
   woody@woodyware.com (John Woodstock):
:How do you change disks ?

>	Each CDROM disk is addressed as a LUN on the same SCSI ID. So you
>just create entries with lun 0, 1, 2, 3, 4, 5, 6. You can then mount them
>all separately.

	Here are the lines from my SunOS kernel config:

disk sr0 at scsibus0 target 6 lun 0     # CD-ROM device
disk sr1 at scsibus0 target 6 lun 1     # CD-ROM device
disk sr2 at scsibus0 target 6 lun 2     # CD-ROM device
disk sr3 at scsibus0 target 6 lun 3     # CD-ROM device
disk sr4 at scsibus0 target 6 lun 4     # CD-ROM device
disk sr5 at scsibus0 target 6 lun 5     # CD-ROM device

	Looking at the Freebsd man pages, scsi(4), I see that something almost
identical is possible:

device ch1 at scbus0 target 4 unit 0

	Presumably you can use cd0 or cd1 above as well. Both scsi(4) and 
ch(4) refer to a special CDROM changer driver included within FreeBSD. However 
looking through the source, the best I can acertain, this ch(4) driver does 
not seem appropriate for the DRM602X which switches disks by SCSI LUN rather 
than by special SCSI command. In any case the above kernel config lines should 
work and allow you to mount all 6 disks.


				Cheers,

				Dan Ts'o
				The Rockefeller University
				Box 138
				1230 York Avenue
				New York, NY  10021
				dantso@cris.com
				212-327-7671
				212-327-7671 FAX