From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Tue, 03 Jul 2007 18:06:08 +0000 Subject: Re: ENV{DEVNAME} in remove rule? Message-Id: <200707032206.08816.arvidjaar@mail.ru> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0647438681==" List-Id: References: <20070703171658.GB27375@server> In-Reply-To: <20070703171658.GB27375@server> To: linux-hotplug@vger.kernel.org --===============0647438681== Content-Type: multipart/signed; boundary="nextPart9472058.42N9RmWO1Y"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart9472058.42N9RmWO1Y Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 03 July 2007, Richard Michael wrote: > > DEVNAME is set by udev before calling RUN programs. It is not available > > when rules are being processed. > > Where are these details documented?=20 source code? > I've been writing lots of test=20 > rules to try and figure this out, but I'd prefer to just read something. > patches to manual pages are welcome :) > > I want to create block devices (not symlinks) for the specific ports of > a USB (or firewire) controller, and take actions depending on which > socket of the controller has been used. > What's wrong with using ID_PATH? It also has advantage of being more stable= =20 than PHYSDEVPATH (which includes volatile details like running SCSI host=20 number). --nextPart9472058.42N9RmWO1Y 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) iD8DBQBGipAQR6LMutpd94wRAhyVAKDKlksaFCMGP0PLBVzWoS7RdYNr8ACePHlN 3VRRKnOmLzP3uHvdI0+9jPg= =nEEU -----END PGP SIGNATURE----- --nextPart9472058.42N9RmWO1Y-- --===============0647438681== 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/ --===============0647438681== 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 --===============0647438681==--