How to change an order of mount points if a volume is mounted twice (or more)?
sudo mount /dev/sda2 /media/Folder_1;
sudo mount /dev/sda2 /media/Folder_2;
udisksctl info --block-device /dev/sda2;
MountPoints: /media/Folder_2 /media/Folder_1
How to change this order? I mean I want to see: first - "/media/Folder_1", then - "/media/Folder_2" Where this order is stored?
Does exist a call to some system program that software (like file managers) uses to detect which mountpoint should be used?
Eg.: a_program an_argument_1 ... an_argument_N
(In this case it may be possible to override such program and preprocess its arguments before actual call)
P.S. It may be important, as I suspect that some software (like file managers) get the FIRST mount point and associates this one with the volume label.