From: Andrey Borzenkov Date: Wed, 18 Nov 2009 16:14:44 +0000 Subject: Re: device attributes not propogating all of the time Message-Id: <200911181914.46726.arvidjaar@mail.ru> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart16138138.ML8mOHuziH" List-Id: References: <1258535586.2761.21.camel@localhost.localdomain> In-Reply-To: <1258535586.2761.21.camel@localhost.localdomain> To: linux-hotplug@vger.kernel.org --nextPart16138138.ML8mOHuziH Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wednesday 18 of November 2009 12:13:06 Daniel Drake wrote: > So I came up with these rules: >=20 > SUBSYSTEM=3D=3D"mmc_host", KERNEL=3D=3D"mmc[0-9]", ENV{MMC_BUSNO}=3D"%n" > SUBSYSTEM=3D=3D"mmc", KERNEL=3D=3D"mmc[0-9]:*", IMPORT{parent}=3D"MMC_BUS= NO" > SUBSYSTEM=3D=3D"block", KERNEL=3D=3D"mmcblk?", IMPORT{parent}=3D"MMC_BUSN= O", > SYMLINK+=3D"disk/mmc/mmc$env{MMC_BUSNO}" I do not know whether behaviour you describe is a bug, but you should be=20 able to get the same simpler SUBSYSTEMS=3D=3D"mmc_host", KERNEL=3D=3D"mmcblk*", SYMLINK+=3D"disk/mmc/%b" I guess you should be able to also stick SUBSYSTEM=3D=3D"block" in it. --nextPart16138138.ML8mOHuziH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAksEHXYACgkQR6LMutpd94wlMgCfW/oNZKgkKwPbUNMxNXLRprYv ESYAoKrhBH7D7Kb47J1UZlqsK17TFsOy =USli -----END PGP SIGNATURE----- --nextPart16138138.ML8mOHuziH--