From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Tue, 03 Jul 2007 17:45:56 +0000 Subject: Re: ENV{DEVNAME} in remove rule? Message-Id: <200707032146.02533.arvidjaar@mail.ru> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1495124589==" List-Id: References: <20070703171658.GB27375@server> In-Reply-To: <20070703171658.GB27375@server> To: linux-hotplug@vger.kernel.org --===============1495124589== Content-Type: multipart/signed; boundary="nextPart1885704.RXvyRZ4GEB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1885704.RXvyRZ4GEB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 03 July 2007, Richard Michael wrote: > > But, my command /root/raid_management is never run, as if udev isn't > matching ENV{DEVNAME}. > > What have I misunderstood? > DEVNAME is set by udev before calling RUN programs. It is not available whe= n=20 rules are being processed.=20 In general I am not sure it is wise to match on DEVNAME It can be changed a= t=20 any time by installing different rule(s). Better to match on device=20 properties. --nextPart1885704.RXvyRZ4GEB Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGiotVR6LMutpd94wRAgNwAKCBTStPrf+sQmhe+kgn/tJkfuKLngCgv9dU VJ8EPdkZMO0rXmvVo5gxXzo= =lvY4 -----END PGP SIGNATURE----- --nextPart1885704.RXvyRZ4GEB-- --===============1495124589== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1495124589== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1495124589==--