LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-13-2004, 09:53 PM   #1
brainlesspinkey
Member
 
Registered: Jul 2004
Distribution: Debian Unstable
Posts: 66

Rep: Reputation: 15
can't eject cd's


Hello, i am having troubles ejecting cd's and playing music cd's
The problem is that my cdrom device file is /dev/hdc instead of /dev/cdrom I like it when it is /dev/cdrom, but in fc3 it is /dev/hdc . and, the problem is that regular users can't access the /dev/hdc file. what i did to make everything work as a quick fix, was to chmod 777 /dev/hdc. is that safe? or insecure? how are things supposed to be done? thanks for any help.
 
Old 11-14-2004, 01:01 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
you should create a symbolic link as follows,

ln -s /dev/hdc /dev/cdrom

so now /dev/hdc will also be known as /dev/cdrom and chmod 777 /dev/cdrom. The permissions for my /dev/hdc are just rw by root.

Last edited by reddazz; 11-14-2004 at 01:04 AM.
 
Old 11-14-2004, 08:42 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
For /dev files you just need to set 666 as permission mask. 'cause you just need read/write access to these files as you'll never exec them
 
Old 11-14-2004, 11:33 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I see, that makes sense actullay, never thought about it.
 
Old 11-14-2004, 03:22 PM   #5
brainlesspinkey
Member
 
Registered: Jul 2004
Distribution: Debian Unstable
Posts: 66

Original Poster
Rep: Reputation: 15
thanks for the help guys, i now have a link called /dev/cdrom for hdc and i chmodded 666 the hdc dev file. Everything seems to be working now. But i still have one last question: why wasn't it set up like this when i installed? shouldn't fedora core should have done this for me? What about that hal daemon that prevents me from making any changes to the my fstab? egad, it seems redhat has put too many behind the scenes things for me to figure this stuff out!
Is there like a manual for all of fedora core 3 i could use?

thanks for the help,
-p
 
Old 11-15-2004, 04:15 AM   #6
mr_segfault
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Redhat 9
Posts: 95

Rep: Reputation: 15
While this solution works, I think its a little different than it first appears.

In FC3, when a cd is mounted, it is no longer mounted in /mnt, rather it gets mounted in /media. In my case, I have a dvd burner as my cd drive and my drive gets mounted in /media/cdrecorder. I have a sneaky feeling that this has something to do with the new udev stuff included in FC3.

I am sure that just a few days ago, when I tried to use eject to eject a cd, it complained that it could not find /mnt/cdrom. Why did it look for /mnt/cdrom? a ha! its an eject problem, it seems that eject is either configured or hard coded to look for /mnt/cdrom.

The confusing thing is, that I just tried this to verify before I post and it now appears to work! I expect the 'apt-get update' I ran last night fixed the problem (???) who knows, perhaps there was an update of eject..

Anyway thats my take on the situation.

Cheers.
 
  


Reply



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
Kaffeine and playing cd's (can it look for cd's on both drives at the same time?) RoaCh Of DisCor Linux - Software 3 03-16-2006 12:38 AM
VCD does not eject even eject button pressed ic_torres Linux - Software 4 12-01-2005 05:40 PM
CD Won't Eject With "eject" Command Dr. Ephemeron Slackware 13 11-13-2003 12:27 AM
listening to cd's/recording cd's saposmak Linux - Hardware 4 09-16-2003 05:41 PM
Trouble playing commercial audio cd's. MP3 cd's ok. barryww1956 Linux - General 7 12-17-2001 07:42 PM

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

All times are GMT -5. The time now is 11:37 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