[dolphin] [Bug 425319] Mounting an ISO with multiple partitions always mounts the wrong partition

Oded Arbel bugzilla_noreply at kde.org
Sun Aug 16 09:38:14 BST 2020


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

--- Comment #4 from Oded Arbel <oded at geek.co.il> ---
(In reply to Kwon-Young Choi from comment #3)
> Could you share the output of the following commands:

$ udisksctl loop-setup -r -f 'XXXXXXXX.iso'
Mapped file XXXXXXXX.iso as /dev/loop36.
$ udisksctl info --block-device /dev/loop36
/org/freedesktop/UDisks2/block_devices/loop36:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/loop36
    DeviceNumber:               1828
    Drive:                      '/'
    HintAuto:                   false
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 true
    Id:                         
    IdLabel:                    INSTALL
    IdType:                     iso9660
    IdUUID:                     2004-08-12-14-36-55-00
    IdUsage:                    filesystem
    IdVersion:                  Joliet Extension
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/loop36
    ReadOnly:                   true
    Size:                       654561280
    Symlinks:                   /dev/disk/by-label/INSTALL
                                /dev/disk/by-uuid/2004-08-12-14-36-55-00
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.Loop:
    Autoclear:          false
    BackingFile:        /home/odeda/XXXXXXXX/XXXXXXXX.iso
    SetupByUID:         1000
  org.freedesktop.UDisks2.PartitionTable:
    Partitions:         ['/org/freedesktop/UDisks2/block_devices/loop36p1',
'/org/freedesktop/UDisks2/block_devices/loop36p2']
    Type:               mac
$ udisksctl info --block-device /dev/loop36p1
/org/freedesktop/UDisks2/block_devices/loop36p1:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/loop36p1
    DeviceNumber:               66313
    Drive:                      '/'
    HintAuto:                   false
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 true
    Id:                         
    IdLabel:                    
    IdType:                     
    IdUUID:                     
    IdUsage:                    
    IdVersion:                  
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/loop36p1
    ReadOnly:                   true
    Size:                       1024
    Symlinks:                   
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.Partition:
    Flags:              0
    IsContained:        false
    IsContainer:        false
    Name:               MRKS
    Number:             1
    Offset:             512
    Size:               1024
    Table:              '/org/freedesktop/UDisks2/block_devices/loop36'
    Type:               Apple_partition_map
    UUID:               
$ udisksctl info --block-device /dev/loop36p2
/org/freedesktop/UDisks2/block_devices/loop36p2:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/loop36p2
    DeviceNumber:               66314
    Drive:                      '/'
    HintAuto:                   false
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 true
    Id:                         
    IdLabel:                    XXXXXXXX Install
    IdType:                     hfs
    IdUUID:                     dbd5a3ea-5614-384e-8d15-045117946523
    IdUsage:                    filesystem
    IdVersion:                  
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/loop36p2
    ReadOnly:                   true
    Size:                       628582400
    Symlinks:                   /dev/disk/by-label/XXXXXXXX\x20Install
                               
/dev/disk/by-uuid/dbd5a3ea-5614-384e-8d15-045117946523
    UserspaceMountOptions:      
  org.freedesktop.UDisks2.Filesystem:
    MountPoints:        
    Size:               0
  org.freedesktop.UDisks2.Partition:
    Flags:              0
    IsContained:        false
    IsContainer:        false
    Name:               Toast 5.2 HFS Optimizer
    Number:             2
    Offset:             25977856
    Size:               628582400
    Table:              '/org/freedesktop/UDisks2/block_devices/loop36'
    Type:               Apple_HFS
    UUID:               


> I found this issue at the udisks project page:
> https://github.com/storaged-project/udisks/issues/725 but I am not sure if
> it is the exact same problem.

I will review. Thank you.

> I guess the other solution would be to switch to from udisks to another tool
> like fuseiso, but that would be a enormous amount of work.

yea, that does not seem very feasible. IMO fixing udisks is the way to go. If
the above linked issue is not relevant, I'll open a new ticket there.

Do you think this bug report should be closed? or would you rather have it open
and blocking on a possible update from udisks?

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



More information about the kfm-devel mailing list