[mythtv-users] UDEV rules

Yianni yiannividalis at hotmail.com
Mon Jan 27 19:06:44 UTC 2014


>
> Bill's rule:
> KERNEL=="dvb?.frontend?",SUBSYSTEM=="dvb",ATTRS{subsystem_vendor}=="0x0070",ATTRS{subsystem_device}=="0x7911",SYMLINK+="JustTesting",GROUP="video"
>
> My rule:
> KERNEL=="dvb?.frontend?",SUBSYSTEM=="dvb",ATTRS{subsystem_vendor}=="0x0070",ATTRS{subsystem_device}=="0x7911",SYMLINK+="HP1250",GROUP="video"
>
> Bill's result:
> lrwxrwxrwx 1 root root 22 Jan 25 16:43 /dev/JustTesting ->
> dvb/adapter0/frontend0
>
> MY result:
> drwxr-xr-x 2 root root 120 Jan 27 13:29 adapter0


The "SYMLINK+=" directive means "create a symbolic link under /dev" with the name it is given.

The full path is "/dev" + the symlink, i.e. SYMLINK+="HP1250" must have created a symbolic link named HP1250 under /dev, not under /dev/dvb. 		 	   		  


More information about the mythtv-users mailing list