I have udev running with the 2.6.16.9 kernel on Slackware 11.0. I have a scsi camera device that takes discs from a camera and reads them. The serial for the device is "0000186202," and appears in /dev as sda and sda1. I want to rename these to camera and camera1. The rule I have written looks like this
Code:
BUS="usb", SYSFS{serial}="0000186202", NAME="camera/%n"
This was placed in a file a created called 10-local.rules in /etc/udev/rules.d/. Can you tell me why my camera isn't being named camera or camera1 yet? Thanks.