-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] /run/media/username/ID or path etc/ instead of UUID #1337
Comments
The name is created from several sources - first the filesystem label, then the filesystem UUID, falling back to plain udisks/src/udiskslinuxfilesystem.c Lines 790 to 801 in 8ffd11c
In practice almost every filesystem has an UUID. I think there's currently no other way to specify custom mountpoint name, other than putting it in |
Impossible? Why? Although it's possible to have 2 partitions with the same UUID, on a PC, e.g. if I plug an USB flash drive from a friend (then we play the lottery). On the contrary an ID depends on the unique hardware serial number, then the number of the partition https://wiki.archlinux.org/title/Persistent_block_device_naming. It would be nice to have the setting, why not the path etc too. |
I didn't say it's impossible, just currently not possible. Generally dynamically created mountpoints are not stable and never were. If there's a directory with the same name, UDisks will choose a new name, typically with -1, -2, etc. suffix. If you need stable names for your further operations, having a |
Editing /etc/fstab is a bad patch for me, e.g. I don't wanna do it every time I plug a new drive. I still don't understand why it's currently not possible:
How? I edit the code of udisks myself? |
https://bbs.archlinux.org/viewtopic.php?id=302709 |
? |
I'm on Arch Linux KDE.
E.g. mount nvme0n1p3 via Dolphin or
udisksctl mount -b /dev/nvme0n1p3
: /run/media/a/DB49-54E7/ but is it possible to have /run/media/a/nvme-WDS250G3X0C-00SJG0_185250422455-part3/ instead?
Thanks.
The text was updated successfully, but these errors were encountered: