Bug 289704 - udev creates no cdrom links
Summary: udev creates no cdrom links
Status: RESOLVED DUPLICATE of bug 286132
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Alpha 5plus
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-05 13:05 UTC by Andreas Schwab
Modified: 2007-07-05 15:21 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2007-07-05 13:05:49 UTC
# hwinfo --cdrom
95: SCSI 300.0: 10602 CD-ROM (DVD)                              
  [Created at block.226]
  UDI: /org/freedesktop/Hal/devices/pci_8086_269e_scsi_host_scsi_device_lun0_scsi_generic
  Unique ID: twPO.Ynwkdd8ohT4
  Parent ID: 3p2J.MGIJHVTQlH0
  SysFS ID: /block/sr0
  SysFS BusID: 3:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:1f.1/host3/target3:0:0/3:0:0:0
  Hardware Class: cdrom
  Model: "TEAC DV-28E-N"
  Vendor: "TEAC"
  Device: "DV-28E-N"
  Revision: "1.6A"
  Driver: "ata_piix", "sr"
  Driver Modules: "ata_piix"
  Device File: /dev/sr0 (/dev/sg0)
  Device Files: /dev/sr0, /dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0, /dev/cdrom, /dev/dvd
  Device Number: block 11:0 (char 21:0)
  Features: DVD
  Drive status: no medium
  Config Status: cfg=yes, avail=yes, need=no, active=unknown
  Attached to: #14 (IDE interface)
  Drive Speed: 24
# cat /etc/udev/rules.d/70-persistent-cd.rules 
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, probably run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line
# and set the $GENERATED variable.

# DV-28E-N (pci-0000:00:1f.1-scsi-0:0:0:0)
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.1-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
# ls -l /dev/cdrom
ls: cannot access /dev/cdrom: No such file or directory
Comment 1 Hans-Peter Holler 2007-07-05 15:21:44 UTC

*** This bug has been marked as a duplicate of bug 286132 ***