From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aras Vaichas Date: Thu, 21 Aug 2008 05:30:01 +0000 Subject: Re: ENV variable scope question Message-Id: <48ACFD59.3030300@magtech.com.au> List-Id: References: <48ACC6DD.4070705@magtech.com.au> In-Reply-To: <48ACC6DD.4070705@magtech.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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 ______________________________________________________________________