LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2009, 06:39 AM   #1
peddip
Member
 
Registered: Dec 2008
Posts: 51

Rep: Reputation: 16
Smile Unable to eject CD


Hi Friends,

I'm using RHEL4 and i am facing some issues using CDROM. I used umount -l to unmount the CDrom as it was not getting unmounted and showing Device busy error, Using umouint -l /media/cdrecorder1 command i was able to umount the cd.

But now the issues is i am able to mount and unmount the cd with root account and even eject the cd using root account. But when a normal user try to eject by using eject command it throws the below error,

Error:eject: unable to eject, last error: Invalid argument

And users are not able to eject the CD and i need to login as root and do that for them.
Can any one help me if they know about it and how to resolve it, and also some times after mounting the cd i'm unable to view the contents of the CD and all this problems started after using umount -l command and doing a lazy unmount.
Please let me know how this issue can be fixed.

Thanks in Advance,
Praveen Peddi.
 
Old 02-06-2009, 08:04 AM   #2
krishnasut
LQ Newbie
 
Registered: Jan 2009
Posts: 14

Rep: Reputation: 0
Try it

use udev
it could be find in /sbin
now type this command ...
gksu mount /dev/cdrom0 /mnt && nautilus /mnt
********
gksu umount /dev/cdrom0


you can use your desired file manager , here i use nautilus !
similarly you can use different mount point..
see man udev ....
Hope it will work !!!!


http://http.cdnlayer.com/lq/images/q...on10.gifcheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when i use right click and then choose eject button eject: unable to open `/dev/hda' sanatkrtiwari86 Linux - Newbie 3 12-02-2008 06:10 AM
Unable to eject CD. ?HAL problem arubin Slackware 10 01-26-2008 05:48 PM
Unable to Eject a DVDROM carlosinfl Linux - Hardware 4 12-13-2007 02:43 PM
Unable to mount/eject. diablo_ Slackware 16 02-04-2007 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration