Bug 272632 - Automounting device overrides pointless with UDisks
Summary: Automounting device overrides pointless with UDisks
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_deviceautomounter (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Torrie Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 16:30 UTC by Sebastian Trueg
Modified: 2021-02-24 04:33 UTC (History)
1 user (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 Sebastian Trueg 2011-05-06 16:30:24 UTC
Version:           unspecified (using Devel) 
OS:                Linux

With UDisks the Solid UDIs of the removable devices managed by the auto-mount KCM are not unique anymore. They look like '/org/freedesktop/UDisks/devices/sdb' which is far from being unique and identifying the actual devices. The KCM, however, does show the device identifiers which give the impression that a distinction is made between two devices with the same /dev node. But that is not the case.

Reproducible: Didn't try

Steps to Reproduce:
Mount two different USB keys and see that they have the same UDI.

Actual Results:  
The two different USB keys are treated as the same in the automount KCM although the identifiers are different.

Expected Results:  
The KCM should treat the USB keys as different devices and have one entry for each of them.

In Nepomuk we use the uuid to make a distinction between removable storage devices. The same approach could be used here. We could even think about sharing the code - maybe another Solid method that tries hard to get a unique id for the device.
Comment 1 Likivik 2021-01-25 16:41:59 UTC
I don't believe this is still relevant in Plasma 5.20? 2 usb sticks show up as different devices. 
If I misunderstood and it's still relevant please provide additional info on how to check\where to look for UDIs.
Comment 2 Bug Janitor Service 2021-02-09 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-02-24 04:33:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!