Bug 442606

Summary: automatic change of device names when automount on login
Product: [Applications] systemsettings Reporter: empyreal <empyreal>
Component: kcm_deviceautomounterAssignee: Torrie Fischer <tdfischer>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.