Re: eject: unable to find or open device for: `cdrom'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-09-08 at 19:09 -0500, Mikkel L. Ellertson wrote:
> Paul Smith wrote:
> > Dear All,
> > 
> > The problem has partially returned. In my case, I have
> > 
> > # ls /dev/cdrom*
> > /dev/cdrom1
> > #
> > 
> > And I do the following:
> > 
> > # cd /dev
> > # ln -s ./cdrom1 cdrom
> > 
> > that solves the problem until a new reboot. After a new reboot, I have
> > to apply the solution above explained; otherwise, I get
> > 
> > $ eject
> > eject: unable to find or open device for: `cdrom'
> > $
> > 
> > What can I do to make this solution permanent, i.e., not destroyed by a reboot?
> > 
> > Thanks in advance,
> > 
> > Paul
> > 
> You may have to edit /etc/udev/rules.d/70-persistent-cd.rules and
> make sure that the rules for creating the cdrom and cdrom0 are
> correct. In your case, I suspect that the rules for cdrom1 should be
> for cdrom0. Depending on the drive, it may also have dvd and dvdrw
> rules.
> 
> The fix is fairly simple - comment out, or delete the <devicd>0
> rules, change the <device>1 rules to <device>0, and copy the first
> of the old cdrom1 (new cdrom0) rules and change cdrom1 to cdrom in
> the copied rule.
> 
> When you reboot, all should be fine.
> 
> Mikkel
It would seems simpiler to just define an alias or put:

ln -s /dev/cdrom1 /dev/cdrom
into /etc/rc.local

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux