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

Eject CDROM from CDDRIVE

Status
Not open for further replies.

pavithra123

IS-IT--Management
Jun 17, 2001
54
CZ
I have E-250 with a CDDRIVE i want to eject the CDROM when i try to say eject from root ( as Super user ) i get the device busy with a path.

I try to unshare the mounted file by saying unshareall and i get a message
unable to open /etc/dfs/sharetab and when i try to give
unshare and the path of the file it gives no such file or directory .

Need help immediately help me out guys.

Prem

 
Are you actually sat in on the cd filesysem when you're issuing the eject command? If so, you'll need to change directory so that you're not, then try your eject. If this doesn't work, try finding out who's using the drive using ps -ef | grep <a relevant part of the path> and ask the user involved whether the process is necessary.

Hope this helps.
 
thanks

I did not realise one of my colleagues had opened another session & was accessing it, closing it i could get the CD out with eject &quot;cdrom0&quot; command from root.
 
Hello

fuser /directoryname displays the process IDs using any
file under the said directory

Sharad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top