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

udev problem



I am running sid
I have a rule in localrule as below.
lvgdell600m:~# cat /etc/udev/rules.d/local.rules
BUS="scsi", SYSFS{model}="Cruzer Micro", KERNEL="sd?1", NAME="%k", SYMLINK="flash"
Previoulsy it used to work to do automounting with autofs. it used to create /dev/flash. Now it fails to create. Further during boot also I get msg rule is not correct. I get msg in syslog as below.
lvgdell600m:~# tail -n 30 /var/log/syslog
May  7 18:03:35 localhost kernel: usb 4-1: new high speed USB device using ehci_hcd and address 4
May  7 18:03:38 localhost kernel: SCSI subsystem initialized
May  7 18:03:38 localhost kernel: Initializing USB Mass Storage driver...
May  7 18:03:38 localhost kernel: scsi0 : SCSI emulation for USB Mass Storage devices
May  7 18:03:38 localhost kernel: usbcore: registered new driver usb-storage
May  7 18:03:38 localhost kernel: USB Mass Storage support registered.
May  7 18:03:38 localhost kernel: usb-storage: device found at 4
May  7 18:03:38 localhost kernel: usb-storage: waiting for device to settle before scanning
May  7 18:03:43 localhost kernel:   Vendor: SanDisk   Model: Cruzer Micro      Rev: 0.2
May  7 18:03:43 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
May  7 18:03:43 localhost kernel: usb-storage: device scan complete
May  7 18:03:44 localhost kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
May  7 18:03:44 localhost kernel: sda: Write Protect is off
May  7 18:03:44 localhost kernel: sda: Mode Sense: 03 00 00 00
May  7 18:03:44 localhost kernel: sda: assuming drive cache: write through
May  7 18:03:44 localhost kernel: SCSI device sda: 1000944 512-byte hdwr sectors (512 MB)
May  7 18:03:44 localhost kernel: sda: Write Protect is off
May  7 18:03:44 localhost kernel: sda: Mode Sense: 03 00 00 00
May  7 18:03:44 localhost kernel: sda: assuming drive cache: write through
May  7 18:03:44 localhost kernel:  sda: sda1
May  7 18:03:44 localhost kernel: sd 0:0:0:0: Attached scsi removable disk sda
May  7 18:04:00 localhost automount[6462]: >> mount: special device /dev/flash does not exist
May  7 18:04:00 localhost automount[6462]: mount(generic): failed to mount /dev/flash (type vfat) on /var/autofs/removable/flash
Is there any change to creating rules?
What should be the rule for creating /dev/flash?

--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042
Reply to: