Re: ENV variable scope question

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

 



Sujit Karataparambil wrote:
>> ACTION=="remove", ENV{LCDD_DEVICE}=="%k", RUN+="... remove the >driver ..."
>>     
>
> SUBSYSTEM=="usb_endpoint", ACTION=="remove",
> RUN+="/etc/udev/dev.d/script/umount.dev"
>   
No, that won't work because it will trigger for *every* USB unplug
event.  Anyway,  that doesn't answer the main question of the thread.

> Some thing that might be helpfull is.
> udevcontrol reload_rules
>   
No, I don't need to do that because udev will automatically reload the
rules via inotify.

Also, that command is obsolete. The new version is this:

# udevadm control --reload-rules

Aras

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux