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

            Bug ID: 473952
           Summary: Mount and create partitioned image files
    Classification: Applications
           Product: partitionmanager
           Version: 23.08.0
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

Currently KPM only works with actual block devices, virtual or not. But there
are cases where disk could be represented by image file:
- ISO image
- Raw disk copy
- Symbolic link to actual device

fdisk can work with image file in the same way it can work with block device.
You can create partition tables, you can use mkfs to create filesystem after
you mount them as loopback device, etc

But even for fdisk to work you need to create at least zero-filled image.

Right now, even if I create loop device manually, KPM doesn't show it. Although
this is not surprising and expected given that it isn't supported.

So, there are 2 things there:
- Creating image files of given size (and adding partition table there)
- Mounting image files as loopback devices and work with them as you would with
real ones

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.1.49-1-lts (64-bit)
Graphics Platform: X11

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

Reply via email to