*BSD News Article 79560


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news2.acs.oakland.edu!condor.ic.net!news.sojourn.com!cancer.vividnet.com!hunter.premier.net!news1.erols.com!howland.erols.net!newsfeed.internetmci.com!news-in2.uu.net!news.artisoft.com!usenet
From: Terry Lambert <terry@lambert.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Pioneer CD-Rom changer
Date: Mon, 30 Sep 1996 11:53:17 -0700
Organization: Me
Lines: 31
Message-ID: <3250171D.66D2D06F@lambert.org>
References: <52nekm$lq6@ionews.ionet.net>
NNTP-Posting-Host: hecate.artisoft.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (X11; I; Linux 1.1.76 i486)

Ryan Samples wrote:
] I really need some help getting the disks in my Pioneer DRM-602x
] CD-Rom changer to mount.
] 
] Here is the situation, on boot FreeBSD regonizes the changer and
] scans each of the six drives telling me if a disk in inserted or
] not. There are 4 disks insertes HOWERVER in the /dev directory
] there are only 2 entries /dev/cd0a and /dev/cd0c both of these
] devices will mount fine, but they mount to the same disk, disk 1.
] 
] I need to be able to mount the 4 disks seperatly.

You need to MAKEDEV the additional CDROM devices.

Each disk in a changer is a virtual CDROM device of its own.

/dev/cd0c is the "wholde disk for CDROM 0".

/dev/cd0a is the "first slice for CDROM 0" (which, since it doesn't
have a disklabel, is the whole disk).

This is why your mount of either gets the first disk.

You will use cd1a, cd2a, and cd3a for the next three CDROM's, in
order.

                                        Terry Lambert
                                        terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.