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

ejecting cd

Status
Not open for further replies.

axkhan

MIS
Apr 9, 2008
1
US
Hi,

I've been trying to eject a cd from my unix box. The eject command doesn't work, it doesn't even display a MAN page when I type man eject. I've tried unmounting in vold, but the vold directory doesn't exist. I tried cdrecord but can't confirm what my device number is. Please advise.

Thanks.
 

SCO 5.0.7 and 6.0.0

cddev=`cdrecord -scanbus | grep CD-ROM | awk '{print $1}'`
cdrecord dev=$cddev -eject 2> /dev/null 1>&2

Non-writable drives will produce a warning message that can be ignored.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top