[3721] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Multiple-CD changer; access from a web page

daemon@ATHENA.MIT.EDU (Info junkie)
Sun Nov 10 11:42:05 1996

Date: Sun, 10 Nov 1996 11:14:03 -0500 (EST)
From: Info junkie <junkie@glcom.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


Ok to whoever responded to my earlier queries regarding the IDE CD 
changer ...I have finally figured how to get the damn thing working; 
there is a simple program in /usr/src/linux-2.0/Documentation/cdrom/ide-cd 
that allows you to load different disks onto the cd to be used on the mount;
i copied and compiled the program as cdload; here is what i would normally
do to get this working [/dev/hdd/ is my cdrom drive]

umount /dev/hdd   %unmount the CD
cdload /dev/hdd 1  % select the CD on  slot 1
mount -t iso9660 /dev/hdd /somepath/somedir % mount the selected CD


Here is what i would like to do:

have a user click on a web link for say CD1;
issue all the above commands and mount the CD under the FTP directory.
Then allow the user to connect to the site via a newly displayed
link. 
[This i dont like, but i dont see any other way]
If another user tries to access the CD while it is in use then 
they can but if they try to access a different one -- the unmount would
fail and they should get a message that another CD is in use with
a mention of which CD it is. 
When a user is done, there should be an automatic unmount.

I know this tricky; but is there any other way to do this?



cheers
jamal


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post