Re: help with udev rules needed

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



rray_1@xxxxxxxxxxx wrote:
> I am migrating from Fedora 8 to CentOS 5.2
> I have usb dvd
> 
> On F8 I have /etc/udev/rules/00-my-custom.rules
> BUS=="scsi", SYSFS{vendor}=="TSSTcorp", SYSFS{model}=="CDDVDW SH-S203N 
> ",SYMLINK="dvd",OWNER="rray"
> When I plug in dvd I get
> $ ll /dev/scd1
> lrwxrwxrwx 1 root root 3 Aug 25 08:17 /dev/scd1 -> sr1
>   ll /dev/sr1
> brw-r----- 1 rray disk 11, 1 2009-01-21 12:29 /dev/sr1
> Everything is ok
> 
> On C5.2 I have /etc/udev/rules/00-my-custom.rules
> BUS=="scsi", SYSFS{vendor}=="TSSTcorp", SYSFS{model}=="CDDVDW SH-S203N
> ",SYMLINK="dvd",OWNER="rray"
> When I plug in dvd I get
> # ll /dev/scd0
> brw-rw---- 1 root disk 11, 0 Jan 21 12:30 /dev/scd0
> I have also tried MODE="0666" and it also has no affect
> 
> I have checked "udevinfo -a -p $(udevinfo -q path -n /dev/scd0/1)" on both 
> machines and they are the same

what's the problem?
the above rule has nothing to do with sdcX it's just create dvd symlink,
the device itself created by system udev rules.

-- 
  Levente                               "Si vis pacem para bellum!"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux