On Wed, May 17, 2006 at 07:23:20 -0700, L.V.Gandhi wrote:
> 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

[ syslog messages relating to /dev/sda look OK ]

> 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?

I think your rule should be

BUS=="scsi", SYSFS{model}=="Cruzer Micro", KERNEL=="sd?1", NAME=="%k", 
SYMLINK="flash"

The newest udev versions insist on a proper distinction between a
comparison ("==" operator) and an assignment ("="). 

-- 
Regards,
          Florian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to