Hi there,
I have written some udev rules for my USB card reader. Here they are:
Code:
KERNEL=="sd[a-z]", ATTRS{vendor}=="Generic", ATTRS{model}=="USB CF Reader", NAME{all_partitions}="card_cf", group=plugdev
KERNEL=="sd[a-z]", ATTRS{vendor}=="Generic", ATTRS{model}=="USB SD Reader", NAME{all_partitions}="card_sd", group=plugdev
KERNEL=="sd[a-z]", ATTRS{vendor}=="Generic", ATTRS{model}=="USB MS Reader", NAME{all_partitions}="card_ms", group=plugdev
KERNEL=="sd[a-z]", ATTRS{vendor}=="Generic", ATTRS{model}=="USB SM Reader", NAME{all_partitions}="card_sm", group=plugdev
They work fine (i.e. my device nodes like /dev/card_sd are created), but ...
they are created
additionally to the original entries (like /dev/sde). I would like to have
only my own dev node entries.
Does anybody know how to get rid of the /dev/ node that corresponds to the KERNEL name ?
My system is Ubuntu 12.04 (64 bit)
Thanks and Regards,
Kubuntu-Man