Gentoo Archives: gentoo-user

From: Alexey Mishustin <shumkar@×××××××.ru>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: no cdrom (IDE)
Date: Mon, 27 Jun 2011 05:19:55
Message-Id: 3fcRnXkw.1309151885.7522210.shumkar@shumkar.ru
In Reply to: [gentoo-user] Re: no cdrom (IDE) by walt
1 6/26/2011, "walt" <w41ter@×××××.com> âû ïèñàëè:
2
3 >#cat /etc/udev/rules.d/70-persistent-cd.rules
4 ># This file was automatically generated by the /lib/udev/write_cd_rules
5 ># program, run by the cd-aliases-generator.rules rules file.
6 >#
7 ># You can modify it, as long as you keep each rule on a single
8 ># line, and set the $GENERATED variable.
9 >
10 ># iHDP118_4 (pci-0000:00:11.1-scsi-1:0:0:0)
11 >SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.1-scsi-1:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
12 >SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:11.1-scsi-1:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
13 >
14 >Note how the pci number matches the output of lspci -k. If the number doesn't match
15 >your hardware then you should delete the 70-persistent-cd.rules file and reboot.
16 >A new file will be generated during the reboot.
17
18 My udev doesn't create 70-persistent-cd.rules, there is the
19 70-persistent-net.rules only.
20
21 --
22
23 Regards,
24 Alex