rray_1 at comcast.net 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!"