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-20-2006, 02:01 PM   #1
weav
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
CD Ejecting & Floppy Access on FC3


Two stupid FC3 questions:

1. How to eject the CDRom without being root? E.g. when I have an Audio CD in there, the player won't eject, and the "eject" command gives a "invalid argument"-like error. I can sudo eject and it ejects, though often gives the error message as well. Anybody know what's up with that and how to solve?

2. What device is the floppy drive (no flames about using it, please)? /dev/fdd seems to have gone away and I'm ignorant of how FC3 presents this device.

Thanks.
 
Old 11-20-2006, 04:53 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
floppy should be /dev/fd0

to give users permission to execute eject run
chmod a+x /usr/bin/eject
 
Old 11-20-2006, 11:40 PM   #3
weav
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by PatrickNew
floppy should be /dev/fd0
I agree it should, but it's not. No /dev/fd? at all. Any hints where else to look?

Quote:
Originally Posted by PatrickNew
to give users permission to execute eject run
chmod a+x /usr/bin/eject
It's already 755. It runs, it just gives "Invalid argument" when e.g. an audio CD is in. Player can't eject it either. Thoughts?
 
Old 11-21-2006, 12:43 AM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
sudo fuser -k -i /dev/[devicename] && eject /dev/[devicename]

This command searches for processes holding onto the cdrom and kills them. I found it suggested on fedora forums for someone with the same problem. That does still force you to sudo though. I also noticed that you can only use eject on a drive you have write permissions to, so maybe fc3 is mounting these cdroms readonly?

As for the floppy, what is in your /dev?
 
  


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
Installing FC3 using bootable floppy via NFS nikhilgupte Fedora - Installation 2 04-01-2005 09:01 PM
Uninstall FC3/Grub with no floppy MaxD Linux - General 2 02-14-2005 11:13 AM
How to create a FC3 boot disk on floppy zepplin611 Fedora 2 01-18-2005 08:10 PM
Floppy Disk Problem on FC3 evalastin Linux - Newbie 2 01-18-2005 06:23 AM
grub-install hangs on FC3 with no floppy Capt_Caveman Fedora 4 12-15-2004 12:54 PM

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

All times are GMT -5. The time now is 03:05 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
Open Source Consulting | Domain Registration