[nmglug] udev symlinks

Gary Sandine gars at laclinux.com
Wed Sep 7 21:47:21 PDT 2005


On Tue, 2005-08-30 at 10:16 -0700, js at jasonschaefer.com wrote:
> I am trying to create a symlink from /dev/536ep0 to /dev/modem. this is the
> intel 536ep modem.
> 
> udevinfo -a -p /sys/class/tty/536ep0/ outputs the following:
> 
> device '/sys/class/tty/536ep0' has major:minor 240:1
>   looking at class device '/sys/class/tty/536ep0':
>     SYSFS{dev}="240:1"
> 
> so I put this in /etc/udev/udev.rules:
> KERNEL="536ep*", SYSFS{address}="240:1", NAME="modem", SYMLINK="modem"
> 
> Anyone know what i am doing wrong?

Did you ever figure this out?  What was happening that you didn't want
to happen?  Was it that you didn't want the system to not make a
symlink, and the system didn't make one?  :)

I have never tried doing what you are talking about in that manner.
Looking at a sample udev.rules in this Ubuntu system, I see "=="s (not
"="s) after KERNEL entries and after SYSFS{*} entries, and every SYMLINK
entry has a "+=" (not "=").  But I know nothing about udev.rules syntax
yet....





More information about the nmglug mailing list