I have two front usb ports. The first can mount an external disk and so that port is dedicated to it. The other one is for flash drives.
I made udev rules for the disk using it's vendor and model. Now I am looking for a way to assign a name to the flash port so it allways makes a node with the same name.
now I plug disk first -> /dev/sdb1, sdb2
then flash -> /dev/sdc1
if I change the order I get /dev/sdc1, /dev/sdc2 for the disk
and /dev/sdb1 for the flash
I want it allways to be "/dev/flash" when I use that
particular port
Sorry for the dummy explanation - I wanted to be as clear as possible.
Thanks