[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: IDE CD Jukebox (Still)
- From: Charles Galpin <cgalpin lighthouse-software com>
- To: redhat-list redhat com
- Subject: RE: IDE CD Jukebox (Still)
- Date: Sun, 28 Feb 1999 12:29:32 -0500 (EST)
I think I'm coming into this thread a bit late, but you need the eject rpm.This
will include the man page.
I have a little IDE 4 cd changer that works perfectly. I use the following
script to select CDs, and have sym links to it called cd1, cd2, cd3,and cd4.
Also not that the mount point /mnt/cdrom2 is not standard.
hth
charles
#!/bin/sh
# selects and mounts the correct CD slot based on
# the name of the executable cd1, c2, cd3, cd4
# default to cd1
slot=0
case "$0" in
*cd1)
slot=0
;;
*cd2)
slot=1
;;
*cd3)
slot=2
;;
*cd4)
slot=3
;;
esac
echo "one moment please..."
# unmount it if it's mounted already
if ( grep /etc/mtab -e /mnt/cdrom2 -q ); then
umount /mnt/cdrom2
echo "cdrom unmounted";
fi
eject -c $slot /dev/cdrom2 # select the slot
mount /dev/cdrom2 /mnt/cdrom2 # mount it
On 27-Feb-99 Tom Burke wrote:
> Nakamichi MJ-5.16
> 5 CD changer
>
>>From the HOWTO:
>
> EIDE/ATAPI multi-disc changers are also available. The 2.0 kernel has
> rudimentary support for some drives using the CDROM_SELECT_DISC ioctl
> function. The IDE-CD kernel driver documentation file includes source
> code for a program to select changer slots, or you can use a recent
> version of the eject program described earlier.
>
> Aside from some help that I could certainly use, can someone point me
> to the doc file described above?
>
> Also, "man eject" doesn't work :(
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]