Operating System - OpenVMS
1832190 Members
2891 Online
110038 Solutions
New Discussion

disable optical drive eject button

 
David Flickinger
New Member

disable optical drive eject button

I have a customer requirement to disable the eject button on an optical drive when it is mounted and enable it when it has been dismounted. The SCSI command I need to send is the Prevent/Allow Medium Removal (1E), toggling the the prevent bit to lock or unlock. I am trying to determine the best way to do this, possibly redirect the Mount/Dismount commands to an executable that will do the normal mount/dismount as well as send the SCSI command. Has anyone done this? Or do you have any suggestions on the best way to implement?