Bug 131786

Summary: eject unable to find open device
Product: [Fedora] Fedora Reporter: Colin Charles <byte>
Component: ejectAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jreiser
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-10 00:16:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Colin Charles 2004-09-04 14:54:29 UTC
Description of problem: eject can't eject the CDROM device since
/dev/cdrom really doesn't exist any longer with hal/udev in FC3
test2(rawhide?).


Version-Release number of selected component (if applicable):
eject-2.0.13-9

How reproducible:
100%

Steps to Reproduce:
1. run eject from the console (as root, even)
  
Actual results:
eject: unable to find or open device for: `cdrom'

Expected results:
Will eject cdrom

Additional info: This is because hal/udev and the new FHS conformation
makes things look at /media instead. eject is hardwired to eject
/mnt/cdrom by default

So doing eject /media/cdrom works. eject should be fixed to do this
automatically.

Comment 1 Colin Charles 2004-09-05 08:58:36 UTC
Also, because now there's hal/udev, on an x86 laptop, it created
mountpoints for /media/dvdrom. Running eject, fails again

Comment 2 Bill Nottingham 2004-09-07 03:27:58 UTC
Rather, I'd think /dev/cdrom* should be created.

Comment 3 Than Ngo 2004-09-07 10:03:16 UTC
i cannot reproduce this probleme on my machine with udev/hal enable.

how do you mount your cdrom? using automount?
what is the cdrom mount device and mounntpoints?

could you please send me the output of "cat /proc/mounts" after cdrom
is mounted and the /etc/fstab. Thanks





Comment 4 Than Ngo 2004-09-07 10:31:45 UTC
i have upload a test version of eject, which probably fixes this
problem. please let me know if this problem is fixed. Thanks

ftp://people.redhat.com/than/rawhide/eject-2.0.13-10.i386.rpm

Comment 5 Than Ngo 2004-09-07 17:16:17 UTC
*** Bug 131976 has been marked as a duplicate of this bug. ***

Comment 6 Colin Charles 2004-10-10 00:16:46 UTC
Yes, this is fixed, closing as rawhide.