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!

Users unable to eject CD-ROM

Status
Not open for further replies.

mscim

MIS
Feb 25, 2003
22
SG
Non-root users are having problem ejecting the CD-ROM on my Sun Blade Solaris 8 workstation. Loading CD-ROM is not a problem because it is auto mount. But to eject, running a 'eject /cdrom/cdrom0' yeilds this message "/cdrom/cdrom0: Inappropriate ioctl for device". How do I let non-root users eject the CD that they loaded in?
 
you will need to unmount the file-system before you can eject it. Also make sure you are not still in the cdrom fs tree. --
| Mike Nixon
| Unix Admin
| ----------------------------
 
I think you just type: [tt]eject cdrom[/tt]

You can also force it with: [tt]eject -f cdrom[/tt]

I don't think you use [tt]/cdrom/cdrom0[/tt] because that's just the path where it gets mounted. The [tt]eject[/tt] command is looking for either the device or a device alias. That would either be something like [tt]/vol/dev/rdsk/c0t6d0[/tt] or [tt]cdrom[/tt].

Hope this helps.

 
If your cdrom is mounted to be shared to other machines then you will need to unshare your cdrom:
>unshare /cdrom/cdrom0

Even if you force the eject, if something is sharing it still will not eject.
Also keep in mind that some Solaris system take a while before you can mount a new CD on that system again.

 
First stop vold process using command :
/etc/init.d/volmgt stop
Now manually eject the CD.
This should work.

Before inserting the CD again,
we are supposed to start vold process using :
/etc/init.d/volmgt start
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top