Try this:

Create a file called /etc/udev/rules.d/10-udev.rules

Insert the following in the file

BUS="pci", KERNEL="hdc", SYSFS{vendor}="0x10de", NAME="%k",
SYMLINK="cdrom cdroms/cdrom%n"

You'll need to change the SYSFS{vendor} statement and you'll probably
need to reboot.

There's a HOWTO in the gentoo docs on udev - and a very useful link on
creating rules.


On 4/26/05, Wenju Zhang <[EMAIL PROTECTED]> wrote:
> I have install gentoo 2005.0 with udev (without devfs) following
> the gentoo udev guide,
> http://www.gentoo.org/doc/en/udev-guide.xml
> and http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
> 
> I can't find the /dev/cdrom.
> 
> FYI
> 
> gt-dell rules.d # dmesg |grep hdc
> Kernel command line: hdc=ide-cd ro
> ide_setup: hdc=ide-cd
>     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio 
> hdc: SAMSUNG SC-140B, ATAPI CD/DVD-ROM drive
> 
> 
> help me, please.
> 
> Thanks in advance.
> 
> zwj
>

-- 
[email protected] mailing list

Reply via email to