LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-28-2006, 07:25 AM   #1
staham
LQ Newbie
 
Registered: May 2006
Posts: 26

Rep: Reputation: 15
Eject/unmount problem in FC6?


Hi,

I just wanted to know if anyone else has problems with ejecting CDs or DVDs in FC6?

It might of course have something to do with KDE as well, but this used to work before.

If I put a CD/DVD in any of my CD/DVD drives, and click on the CD/DVD icon that appears on the desktop, the eject command/eject menu choice/physical eject button won't work anymore.

The eject command gives this error message:
c-b87a71d5:/ext/dl>eject /dev/hdc
umount: /media/FC-6\040i386\040DVD: not found
eject: unmount of `/media/FC-6\040i386\040DVD' failed

I have to first unmount it, as root:
c-b87a71d5:/ext/dl>s umount /dev/hdc
Password:
c-b87a71d5:/ext/dl>eject /dev/hdc

And the drive finally ejects the disc.

Unmounting as user does not work:
c-b87a71d5:/ext/dl>umount /dev/hdd
umount: /dev/hdd is not in the fstab (and you are not root)

The device files are owned by me:

c-b87a71d5:/ext/dl>\ls -l /dev/hd[cd]
brw------- 1 sh disk 22, 0 Oct 28 09:41 /dev/hdc
brw------- 1 sh disk 22, 64 Oct 28 09:41 /dev/hdd

In some old versions you had to be member of a number of groups to be allowed to do certain things. Is this still necessary?
 
Old 10-29-2006, 01:42 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 18/ TC64
Posts: 5,301

Rep: Reputation: Disabled
sounds like your /etc/fstab entry for the optical drive is set to user and not users.

user can mount but need root to umount
users can do both
 
Old 10-29-2006, 03:13 AM   #3
staham
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
No, I don't have the CD or DVD drives in the fstab. I've only added two extra mount points there, but the rest are the default values after the installation.

It has something to do with this automounting thing built into Linux distributions in the last few years. I have no idea how it works, or where the permissions for that mounting/unmounting is defined.
They all get mounted under /media. The same with usb disks, but I haven't tried any after the installation of FC6.

Does anyone know how this works? Is it some function in Gnome/KDE?
 
Old 10-29-2006, 03:33 AM   #4
staham
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
After reading a bit, it seems like kde/gnome talks to hald, that does the actual mounting/unmounting.
Now I just have to find out why it doesn't work...
 
Old 10-29-2006, 03:39 AM   #5
staham
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Wait.. It works if I first chose unmount in the menu... So no problem with permissions at least...
 
Old 10-29-2006, 05:09 AM   #6
staham
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
I just checked with a new user. I tried both KDE and Gnome.

The problem is specific to KDE. It works if using Gnome.

So I guess something is wrong in Fedora's KDE setup. But what is wrong?
 
Old 10-30-2006, 03:21 PM   #7
staham
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
The problem is solved.

I reported the bug to fedora, and a new eject package will be available tomorrow.

From Fedora:
> it's now fixed in eject-2_1_5-4_1_fc6 which will be available in
> FC6-update tomorrow. Thanks for your report.
 
  


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
fc6 startup problem padeco Linux - Hardware 1 11-28-2006 11:21 AM
FC6 beta3 upgrade to Final FC6 thyraios Fedora 1 09-18-2006 08:55 PM
Mandrake doesn't unmount/eject devices kriidler Linux - Newbie 6 06-12-2005 12:27 PM
switch unmount for eject in gnome? tallest Linux - Software 2 02-08-2005 11:19 PM
Red Hat 7.1 unmount/eject problem. ugge Linux - General 4 10-22-2001 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration