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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

eject a cd-rom from AIX 5.1 host automatically

Status
Not open for further replies.

superstarjpmc

Programmer
Joined
Jan 22, 2004
Messages
38
Location
US
All,
Can anyone tell me how we can eject a cd-rom automatically or using any specific commands, from a AIX 5.1 host ( p640 m/c )
Info on cd-rom drive : 16 Bit SCSI Multimedia CD-ROM Drive

cheers
david jeyam
 
David,

Simple answer: you need 5.2 and the commands to open and close the cdrom drive are, cdeject and cdutil -l respectively.

Cheers



PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
So we can't eject using commands in 5.1 ?
 
David,

I am afraid not. I looked into this myself a couple of years
ago.

Cheers

Paul

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
This works for me under AIX 5.1:

/usr/lpp/bosinst/cdeject /dev/cd0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top