[dolphin] [Bug 434617] It's possible to mount the same ISO image multiple times

Kwon-Young Choi bugzilla_noreply at kde.org
Sun Mar 28 23:42:42 BST 2021


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

Kwon-Young Choi <kwon-young.choi at hotmail.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/sdk/
                   |                            |dolphin-plugins/commit/f136
                   |                            |702d2adc8643ea12f1b6e3bf979
                   |                            |25f1b33f0
             Status|ASSIGNED                    |RESOLVED

--- Comment #12 from Kwon-Young Choi <kwon-young.choi at hotmail.fr> ---
Git commit f136702d2adc8643ea12f1b6e3bf97925f1b33f0 by Kwon-Young Choi.
Committed on 28/03/2021 at 07:03.
Pushed by elvisangelaccio into branch 'release/21.04'.

BackingFile property should be use with StorageVolume instead of StorageAccess

When mounting an iso with `udisksctl`, first a loop device is created
`/dev/loop0` then a second device `/dev/loop0p1` is used to mount it on
a filesystem location.

Querying for StorageAccess devices sometimes only returns the `/dev/loop0p1`
device without the `/dev/loop0` device and the BackingFile property does not
work on `/dev/loop0p1`.

Solution: query for StorageVolume instead which returns all loop devices:
`/dev/loop0` and `/dev/loop1`.

Warning: Because StorageVolume returns more devices, the function
`getDeviceFromBackingFile` could be a little bit slower.

M  +1    -1    mountiso/mountisoaction.cpp

https://invent.kde.org/sdk/dolphin-plugins/commit/f136702d2adc8643ea12f1b6e3bf97925f1b33f0

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list