Want /dev/vda1 type names instead of UUID in terminal prompt -- udev settings maybe

When I move in terminal to another disk/device, I get to the UUID (long name in the prompt) on the commandline. I would like, e.g., /dev/vda1 instead of UUID in my prompt.

I would like to alter udev settngs and/or rules in some manner to do this. I have tried giving the disk a label in gparted to see if that works in terminal but it does not.

In investigating udev as to how to do this, I have also found that my leap 15.6 does not handle /dev/disk/by-id. This looks to be one of the standard options but it is not available. Other options work.

Need some guidance. I am really out of my zone here.

thanks, tom kosvic

I do not understand what it means. Instead of providing vague description show what you are doing.

Here is dev/disk listing:

tom@localhost:/> l /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 140 Jun 27 08:02 ./
drwxr-xr-x 6 root root 120 Jun 27 08:02 ../
lrwxrwxrwx 1 root root  10 Jun 27 08:02 706d5493-b58a-47a3-a10e-e23371b84350 -> ../../vda3
lrwxrwxrwx 1 root root  10 Jun 27 08:02 84506217-d194-47ad-b15d-6fa478bc011a -> ../../vdb1
lrwxrwxrwx 1 root root  10 Jun 27 08:02 c6b6eb81-eece-4f59-8f70-15326c95cecd -> ../../vdb2
lrwxrwxrwx 1 root root  10 Jun 27 08:02 efdac00a-2808-49e7-bb2c-b3243aa710d2 -> ../../vda2
lrwxrwxrwx 1 root root  10 Jun 27 08:02 faafeeca-bcca-461d-8abd-31d34532c5c9 -> ../../vdb3
tom@localhost:/>

and when I move in terminal to /vdb3, for example,my prompt is as below:

tom@localhost:/run/media/tom/faafeeca-bcca-461d-8abd-31d34532c5c9> ls -al
total 20
drwxr-xr-x  3 root root  4096 Jun 23 15:46 .
drwxr-x---+ 3 root root    60 Jun 27 08:03 ..
drwx------  2 root root 16384 Jun 23 15:46 lost+found
tom@localhost:/run/media/tom/faafeeca-bcca-461d-8abd-31d34532c5c9> 

Can’t terminal use /vdb3 instead of long UUID string?

thanks, tom kosvic

Repeating the same words over and over again does not help to understand what you mean or what you did.

I have solved my issue using a label for the disk created in gparted. I tried this once before and it did not work but I must have made some mistake; perhaps the disk was mounted . Previously my terminal prompt for/vdb3 was with the UUID as shown previously.

Now, prompt when on /vdb3 is:

tom@localhost:/run/media/tom/alfs-root> ls -al
total 20
drwxr-xr-x  3 root root  4096 Jun 23 15:46 .
drwxr-x---+ 4 root root    80 Jun 27 08:25 ..
drwx------  2 root root 16384 Jun 23 15:46 lost+found
tom@localhost:/run/media/tom/alfs-root> 

alfs-root is the label I gave the disk in gparted

thanks, tom kosvic