Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 1997 21:08:44 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Søren Schmidt <sos@sos.freebsd.dk>
Cc:        current@freebsd.org (FreeBSD current)
Subject:   Re: multiple cd drives, how to... 
Message-ID:  <15159.876683324@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 12 Oct 1997 20:22:53 %2B0200." <199710121822.UAA16562@sos.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199710121822.UAA16562@sos.freebsd.dk>, Søren Schmidt writes:
>
>I'm currently implementing support for multiple CD drives in the ATAPI 
>driver, question is how to switch the CD.
>Should it be done by using the patition (a-h) gives which gives 8 
>possibilities, or should it be coded into the minor number.
>Another possiblity is to use the cdcontrol program via ioctls to
>switch.
>
>Votes ??

Do not use the partitions.  Why don't you just take the number of
drive numbers you need ?  That way you can mount all of the CD's
and the changer will plug in whatever one you access.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15159.876683324>