Bug 490872 - Device Auto-Mount does not work with some disk/partition/labels setups
Summary: Device Auto-Mount does not work with some disk/partition/labels setups
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Automount (other bugs)
Version First Reported In: 6.1.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-27 02:11 UTC by jroddev
Modified: 2025-08-28 03:00 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jroddev 2024-07-27 02:11:53 UTC
Referring to 'Plasma System Settings / Disks & Cameras / Device Auto-Mount' feature.

- Device Auto-Mount does not seem to work on AuroraOS (Immutable Fedora). 
- Device Auto-Mount does work on regular Fedora 40.
- Modifying /etc/fstab does auto-mount the disks on AuroraOS as expected.
- Clicking on an unmounted Drive in Dolphin successfully mounts the drive to /run/media/<disk>

I couldn't see anything obvious in journalctl but it's possible that I'm not searching for the right keywords.

This guide https://universal-blue.discourse.group/docs?topic=970 recommends mounting external disks into `/var/mnt` so the issue could be that `/run/media` doesn't exist until after auto-mount is attempted? Or is readonly? Or something like that. Just guessing here.

If I mount nvme0n1p3 which contains my home dir the only directories it contains are 
- home
- root
- var
So maybe those are the only valid auto-mount paths? 


OBSERVED RESULT
disk are not mounted after login. 

EXPECTED RESULT
disks are mounted during login

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: AuroraOS (Immutable Fedora)
KDE Plasma Version: 6.1.3
KDE Frameworks Version:  6.4.0
Qt Version:  6.7.2
Comment 1 Timothée Ravier 2024-09-02 09:51:14 UTC
I can semi reproduce this issue on Fedora Kinoite 40. It looks like it depends on how the device is formatted / set up / the labels on the partitions are set?

I initially tried with a disk and that did not work. I then plugged a USB key with a live ISO on it and that did work.
Comment 2 Nate Graham 2025-08-19 20:29:13 UTC
This is working as expected for me on KDE Linux, another immutable OS.

Are you able to reproduce the issue with Plasma 6.4 or later? If so, it would be super helpful if you could figure out which kinds of mounts/partitions/filesystem setups/etc trigger the issue for you.

Thanks a lot!
Comment 3 jroddev 2025-08-28 03:00:02 UTC
I no longer have the setup to test this. 
If it's working for others I'm happy for it to be closed