Control: tag -1 moreinfo

On Sat, Jul 04, 2026 at 10:08:13PM +0200, Cyril Brulebois wrote:
> Bastian Blank <[email protected]> (2026-07-04):
> > On Sat, Jul 04, 2026 at 07:27:29PM +0200, Cyril Brulebois wrote:
> > >     root@iot-isobuilder-52:~# fallocate -l 1G foo.img
> > >     root@iot-isobuilder-52:~# kpartx -asv foo.img
> > Why kpartx and not losetup -P?  kpartx uses device mapper, while losetup
> > -P uses the internal partition support of the kernel.
> That's been working for me for many years, and I never noticed losetup
> -P until today. kpartx also happens to be what's used by vmdb2 in
> various recipes, including the basis for that particular image build.

Please try replacing kpartx with losetup.

Bastian

-- 
Pain is a thing of the mind.  The mind can be controlled.
                -- Spock, "Operation -- Annihilate!" stardate 3287.2

Reply via email to