Second dvd-rw does not list on /dev

Bug #49813 reported by Antonio
4
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: hal

On my system amd64 with 2 plextor dvd-rw ubuntu dapper does not list one of this driver.

On /dev i see this:

netbix@amd64x2:/dev$ ls -la cdr*
lrwxrwxrwx 1 root root 3 2006-06-15 11:08 cdrom -> hdd
lrwxrwxrwx 1 root root 3 2006-06-15 11:08 cdrw -> hdd
netbix@amd64x2:/dev$

netbix@amd64x2:/dev$ ls -la dvd*
lrwxrwxrwx 1 root root 3 2006-06-15 11:08 dvd -> hdd
lrwxrwxrwx 1 root root 3 2006-06-15 11:08 dvdrw -> hdd
netbix@amd64x2:/dev$

On my system i have two plextor, /dev/hdc and /dev/hdd
Also nautilus show only one dvd icons.

Revision history for this message
Antonio (netbix) wrote :

I have found same problem this:

http://wiki.linuxfromscratch.org/lfs/ticket/1640

See the above URL for details. Basically if a system has more than one CDROM drive, only the last one detected will get the /dev/cdrom symlink. In addition to this, we don't appear to handle DVD drives similarly. Do we want to? If so, I'd rather we build the 'cdrom_id' helper and use that to correctly determine drive capabilities (see the gentoo rules in the udev tarball for example usage).

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

This is perfectly normal. We only provide a symlink for one device, where you have multiple.

Changed in udev:
status: Unconfirmed → Rejected
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Oops, Enter submitted the form.

For more reliable symlinks to all your devices, use /dev/disk/by-*

Revision history for this message
Antonio (netbix) wrote :

Normal !!!, other linux distributions map any cdrom/dvd.
Because nautilus show only one cdrom/dvd on my system with two drive ?

Revision history for this message
Antonio (netbix) wrote :

Sorry for my bad english

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Actually all other distributions have chosen to do exactly the same thing ... we've all deprecated multiple /dev/cdrom or /dev/dvd, etc. symlinks in favour of /dev/disk/by-*

If Nautilus only shows one drive you have an ENTIRELY DIFFERENT PROBLEM. Nautilus uses HAL, and doesn't care about these symlinks at all!

Revision history for this message
Antonio (netbix) wrote :

Ok , sorry
I search problem on nautilus and HAL.
Thanks

Revision history for this message
istoyanov (istoyanov) wrote :

> For more reliable symlinks to all your devices, use
> /dev/disk/by-*

Recently, I discovered that my system suffers from this problem as well, but AFAIU, the suggested workaround uses somehow /dev/disk/by-* to create (?) the missing symlink in /dev.

In my case /dev/cdrom and /dev/cdrw *both* point to /dev/hdd (that is the IDE CD-RW), I need to have /dev/cdrom to link to /dev/hdc (the IDE CD-ROM).

I'd appreciate if someone provides some more details how to use the above suggestion in order to get a link /dev/cdrom -> /dev/hdc, while preserving the existing /dev/cdrw -> /dev/hdd.

TIA!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.