Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

eject cdrom while a cmd on the cdrom is executing

Status
Not open for further replies.

wmernagh

Programmer
Feb 5, 2002
9
IE
When deploying sw to a client all our sw fits on one cdrom. However we have recently automated the install of all the 3rd party sw. The perl script that does this in on our cdrom but we need to eject the cdrom to insert the 3rd party sw. Is there anyway of doing this?

What I need is to be able to do the following

insert MyCDROM
execute /cdrom/MyCDROM/bin/inst.pl
eject cdrom (While inst.pl is still running)
insert 3rdPartyCDROM


The current soultion copy the current cdrom into /tmp and then run inst.pl

however this would then require two commands
1)cp
2)inst.pl
I don't want this because I have alot of 3rd party sw to install and I may not wat all of it on at once.
 
yes; however, I will have to charge you to help your company out with any programming stuff.
:?)
try eject cdrom
 
I think I would have the script copy the contents of this cdrom to /tmp, eject the cd, then run the script. After script is run, you could reboot (which clears /tmp) or have your script delete the contents..

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top