Introduction
Normally it isn't possible to mount all the discs of a changer at once, that is because when you mount one slot you can't change to another anymore, because the cdrom gets locked. And of course you'll have to unmount it and then you'll have to change discs by hand. Ok you could do this with a script... but what if you want to share the drives with NFS or Samba and you don't want people to have to hassle with the scripts... let alone when multiple people try...
Description
This little wrapper solves this problem. When it is loaded by the kernel it seeks in the Unified CdRom driver list and checks for changers (capacity>1&changable). It adds these devices to an changer-internal list, opens them and adds them to the changer-devices minor list. The devices changer:minor can then be mounted like any other normal cdrom device, as it acts like a single cdrom device... The other minors can also be mounted at the same time as the changer-wrapper will change to the appropriate slot when it needs access to it. NOTE: This driver works with ANY cdrom driver, not only IDE but also scsi and other drivers supporting the Unified CdRom driver changing mechanism.
Mounting with block=2048 & /etc/fstab
I use "block=2048" to increase read performance a bit and also helps against to many changes as now it'll change at least per 2048 bytes. The changer-part of the fstab on heaven looks like:
/dev/changer0 /cdrom/1 iso9660 defaults,ro,noexec,nosuid,unhide,block=2048 0 0
/dev/changer1 /cdrom/2 iso9660 defaults,ro,noexec,nosuid,unhide,block=2048 0 0
/dev/changer2 /cdrom/3 iso9660 defaults,ro,noexec,nosuid,unhide,block=2048 0 0
/dev/changer3 /cdrom/4 iso9660 defaults,ro,noexec,nosuid,unhide,block=2048 0 0
/dev/changer4 /cdrom/5 iso9660 defaults,ro,noexec,nosuid,unhide,block=2048 0 0
/dev/changer5 /cdrom/6 iso9660 defaults,ro,noexec,nosuid,unhide,block=2048 0 0
Revisions & Contacting
A version number is simply the date of the driver. So 19780225 = 25 February 1978. The newest version will always be available from the Unfix Website at :
http://unfix.org/projects/changer/. For enquiries, bug-reports etc. send an email to
jeroen@unfix.org.
Download
The following versions are available for you to download:
See the
changer.desc for latest updates.
For installation info check the README included in the archive.