I have a few USB disks and partitions which I would like to refer to in an intuitive way.
I know it is possible to use udev to create a persistent named device eg /dev/seagate2tb.
Is it possible to have a disk named /dev/seagate2tb with partitions labelled movies and fat32 and automatically have device names created along the lines of:
/dev/mapper/seagate2tb-movies/dev/mapper/seagate2tb-fat32
or
/dev/seagate2tb/movies/dev/seagate2tb/fat32
/dev/disk/by-labelor/dev/disk/by-partlabelgood enough?by-labeldoesn't give me anything about partitions. I guess I could include disk info in the partition name and then useby-partlabel.