https://bugs.kde.org/show_bug.cgi?id=516666

            Bug ID: 516666
           Summary: Loop device is not deleted after unmounting ISO in
                    Dolphin (Plasma 6)
    Classification: Applications
           Product: dolphin
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: plugins: ISO mounting
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

When mounting an ISO file via Dolphin (double-click → mount), the ISO appears
under “Devices” as expected.
After right-clicking the mounted ISO and selecting “Unmount”, the filesystem is
successfully unmounted. However, the associated loop device remains active.
Running: losetup -a
still shows the corresponding /dev/loopX device.

Because the loop device remains registered in udisks2, the entry continues to
appear under “Devices” in Dolphin, even though the ISO file may already have
been deleted.

This leads to multiple indistinguishable entries in the device list when
mounting different versions of the same ISO (identical volume labels), and
there is no way in the GUI to determine which entry corresponds to which
previously mounted file.

Expected behavior:

After selecting “Unmount” for an ISO mounted via Dolphin, the associated loop
device should also be deleted (equivalent to udisksctl loop-delete), so that:

/dev/loopX is removed

the device disappears from Dolphin’s “Devices” list

no stale entries remain

Actual behavior:

Filesystem is unmounted
Loop device remains active
Entry stays visible under “Devices”
Manual cleanup via udisksctl loop-delete -b /dev/loopX is required

Environment:

Plasma version: 6.6.0
Dolphin version: 25.12.2
udisks2 version: udisks2-2.11.0-1.fc43.x86_64
Distribution: Fedora KDE Plasma 43

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to