mtd and udev

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

 



Hi,

I'm trying to use udev to dynamically generate mtd devices like mtdblock0 or 
mtd0 etc. I'm using Linux Kernel 2.6.24 on an ARM board.

I have setup two rules but to no avail:

ACTION=="add", KERNEL=="mtdblock[0-9]", SUBSYSTEMS=="block", 
NAME="mtdblock/%n", SYMLINK+="%k"
ACTION=="add", KERNEL=="mtd[0-9]", SUBSYSTEMS=="mtd", NAME="%k"

I tried to check them with udevtest, but it doesn't work. strace shows that it 
runs through the /sys subtree but it doesn't match anything against the above 
rules.

I have the impression mtd isn't meant to work together with udev at all. Am I 
right ? Or what can be the reason for this issue.

Help appreciated.

Best regards
Sven
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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