[LWN Logo]

From:	Jeroen Massar <fuzzel@defiant.cistron.nl>
Subject: [PATCH/DRIVER] /dev/changer
Date:	Wed, 19 May 1999 13:23:28 +0200
To:	linux-kernel@vger.rutgers.edu

See: http://unfix.org/projects/changer

Short:
/dev/changer allows you to use+mount all the slots in a cd-changer.

Long:

Normally it isn't allowed 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 ofcourse 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...
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.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/