I'm creating a computer which manipulate harddrives.
I would like to identify the harddrive not by the order in which I plug them into my computer but by the slot I put them into. I know Ubuntu (Linux/Udev) used to have a "by-path" sorting folder for persistent device naming. But it has been removed for a reason I don't quite understand.
I'm seeking help to somehow recreate a way to identify the physical path and therefore the slot I plug my harddrive into. I think through udev rules it should be possible but I don't know how they work.