Bug 442606 - automatic change of device names when automount on login
Summary: automatic change of device names when automount on login
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_deviceautomounter (other bugs)
Version First Reported In: 5.22.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Torrie Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-17 16:27 UTC by empyreal
Modified: 2025-10-10 16:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description empyreal 2021-09-17 16:27:00 UTC
Removable Devices — System Settings
In “Automatic mount” two internal hard drives (sda and sdb) are checked to mount “On Login”.

When external HDD is connected before boot, system makes external HDD as sdb (instead naming it sdc) after boot. One internal hard drive becomes sdc and do not automount.

And funniest thing is that system tries to automount external HDD as sdb instead internal hard drive, but can’t do it. But I feel that this should be another issue.

When I connect external drive after system boot, it is always added as sdc. Automatic mount works as it should.

Is it by design that Linux dynamically assigns sda, sdb, sdc or is it bug?

Operating System: Kubuntu 21.04
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-34-generic (64-bit)
Graphics Platform: X11
Comment 1 empyreal 2021-09-18 10:54:33 UTC
I dig a little and it looks like sda, sdb, sdc etc are assigned dynamically depending on disk detection sequence.
Why automatic mount uses changing variables instead permanent identifiers?
Comment 2 Nate Graham 2025-10-10 16:23:42 UTC
> Is it by design that Linux dynamically assigns sda, sdb, sdc
It is, yes.