From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Wed, 15 Nov 2006 19:14:08 +0000 Subject: Re: problem with a specific ACTION=="remove" udev rule Message-Id: <200611152214.11605.arvidjaar@mail.ru> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 15 November 2006 12:06, Ludovic Rousseau wrote: > > ACTION=3D"add" SYSFS{bInterfaceClass}=3D"0b" > > ENV{NEED_PCSCD_ON_REMOVE}=3D"true" ACTION=3D"remove" > > ENV{NEED_PCSCD_ON_REMOVE}=3D"true" > > RUN+=3D"/usr/sbin/pcscd --hotplug" > > The problem is that ENV{} is only valid for the command executed by > RUN. Have you actually tried it? [...] > I don't think udev can help me here. If I am correct udev knows a > device was removed but cannot tell which one precisely. > That's wrong. - -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFW2cDR6LMutpd94wRAo3QAJ4vGePFE+zLQ8vEKY8sbDr+z4ECawCfYMcu mPJEh8nv0KM6VED22qZbSRw=3D3H+X -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel