udev rules all_partitions doesn't work
I am trying to create rules for my usb flash devices.
This is the rules file:
BUS=="scsi", SYSFS{size}=="2051809", SYMLINK+="mp3man%n", OPTIONS+="all_partitions"
BUS=="scsi", SYSFS{size}=="255704", SYMLINK+="univadis%n", OPTIONS+="all_partitions"
When I plug in my mp3player /dev/mp3man is created but there is no /dev/mp3man1
Similarly when I plug in my memory stick /dev/univadis is created but no /dev/univadis1
So I cannot mount it ( unless I go to sdc1 which defeats the object of the exercise.
I have also tried
BUS=="scsi", SYSFS{size}=="2051809", NAME(all_partitions)="mp3man%n"
with the same result.
What do I do to get mp3man1 created?
|