Re: device attributes not propogating all of the time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 18 of November 2009 12:13:06 Daniel Drake wrote:
> So I came up with these rules:
> 
> SUBSYSTEM=="mmc_host", KERNEL=="mmc[0-9]", ENV{MMC_BUSNO}="%n"
> SUBSYSTEM=="mmc", KERNEL=="mmc[0-9]:*", IMPORT{parent}="MMC_BUSNO"
> SUBSYSTEM=="block", KERNEL=="mmcblk?", IMPORT{parent}="MMC_BUSNO",
>  SYMLINK+="disk/mmc/mmc$env{MMC_BUSNO}"

I do not know whether behaviour you describe is a bug, but you should be 
able to get the same simpler

SUBSYSTEMS=="mmc_host", KERNEL=="mmcblk*", SYMLINK+="disk/mmc/%b"

I guess you should be able to also stick SUBSYSTEM=="block" in it.

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux