You are not logged in.
https://github.com/storaged-project/udisks/issues/1337
They don't seem to care...
On Debian it's /media/username/UUID (I posted on github for it at the time, I believed Debian is better than Arch Linux...), Arch Linux /run/media/username/UUID.
Last edited by jebez (2025-01-19 07:54:27)
Offline
And what do you expect to happen in this thread?
In general Arch packages software as it has been released by upstream. With very rare exceptions, e.g. where compatibility or a serious bugfix is needed, no patches are applied. And in particular no custom patches to implement feature requests and override upstream’s choices. If you wish to run a custom version of udisks, see the “patching packages” article.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Of course they don't seem to care, you didn't give them any reason to care. Why would this be an improvement? To me, this seems totally pointless.
Offline
Well I can add a ID is nicer, more meaningful than a random UUID & if I delete then recreate a partition, the ID remains but new UUID.
Useful for e.g. the download location of a web browser (I use a separate data partition).
Offline
You can use a filesystem label, which seems to be given priority over UUID already. Otherwise you might still be able to set up a custom / vanity UUID.
If you have duplicates in UUID/LABEL, that is your problem not theirs. Even with "lousy" fat32/exfat UUIDs, the probability is very low. Your responsibility to avoid duplicates here.
Offline
Add a file system label: I'm lazy & if a friend adds by coincidence (?) the same label as me, on e.g. a USB flash drive then plug it on my PC?
Last edited by jebez (2025-01-19 08:11:35)
Offline
It should still mount, with a number appended to the mount path (thing1, thing2, thing3, ...).
/* ... then uniqify the mount point */
orig_mount_point = g_strdup (mount_point);
n = 1;
while (TRUE)
{
if (!g_file_test (mount_point, G_FILE_TEST_EXISTS))
{
break;
}
else
{
g_free (mount_point);
mount_point = g_strdup_printf ("%s%u", orig_mount_point, n++);
}
}
Now, the mount point is not created in the same instant so, it may be possible for a race condition to exist there, but we're really in splitting hairs territory then.
Offline
OK but I just want my /run/media/username/ID, the devs don't seem to care, too bad...
Offline
Perhaps I will repeat the question: what do you expect to happen in this thread?
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
GNU/Linux Discussion
General discussion about GNU/Linux.
"Sometimes I seem a bit harsh — don’t get offended too easily!"
OK.
Last edited by jebez (2025-01-19 17:28:15)
Offline