Bug 131786 - eject unable to find open device
Summary: eject unable to find open device
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: eject
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
: 131976 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-04 14:54 UTC by Colin Charles
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-10 00:16:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.