Re: CD changers

Jeanette Pauline Middelink (middelin@polyware.nl)
Sat, 7 Mar 1998 00:17:09 +0100


On Fri, Mar 06, 1998 at 12:43:29PM -0700, Robert L Harris wrote:
> How about something similar to a soft-automounter implementation? If another
> slot isn't in use, have the code unmount the current one and then mount
> the desired slot?

I did such a beast for automount, it's a small additional something
to automount, which starts by reading the numbers of slots of the cd
and allowing chdir()'s into imaginary directories 0..slots-1.
Whenever you enter a directory, it changes to it. However this
horrible fails if something is still busy on another disk, since
the umount will fail and.. and...

Met vriendelijke groet,
Pauline Middelink

-- 
PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0  58 A3 06 9D B6 34 39 E2
For more details look at my website http://www.polyware.nl/~middelin

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu