You are not logged in.

#1 2025-01-19 00:02:02

jebez
Member
Registered: 2025-01-15
Posts: 50

[Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#2 2025-01-19 02:34:49

mpan
Member
Registered: 2012-08-01
Posts: 1,367
Website

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#3 2025-01-19 04:18:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,323

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#4 2025-01-19 07:47:02

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#5 2025-01-19 08:05:30

frostschutz
Member
Registered: 2013-11-15
Posts: 1,487

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#6 2025-01-19 08:09:17

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#7 2025-01-19 08:15:27

frostschutz
Member
Registered: 2013-11-15
Posts: 1,487

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#8 2025-01-19 08:23:58

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

OK but I just want my /run/media/username/ID, the devs don't seem to care, too bad...

Offline

#9 2025-01-19 17:19:03

mpan
Member
Registered: 2012-08-01
Posts: 1,367
Website

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

#10 2025-01-19 17:21:04

jebez
Member
Registered: 2025-01-15
Posts: 50

Re: [Feature request] /run/media/username/ID or path etc/ instead of UUID

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

Board footer

Powered by FluxBB