Hi folks,
kpartx, a tool for extracting partitions from whole-disk images, doesn't currently work on large files. That makes it kind of useless for working with common Xen images, for example those created by virt-install.

There's a bugreport in RedHat's Bugzilla [1], and I'm not sure what exactly its resolution status means.

There's also a report in CentOS' Mantis [2], to which I just attached a simple patch that fixes the problem for me.

I'm not familiar with release procedures of SL, but given that virt-install & kickstart partition the disk image files by default, I think that resolving this issue might be extremely handy.

Please note that there's also a patch in Gentoo bugzilla [3] which uses significantly different approach. I haven't bothered with checking its correctness, as the issue is fixed in upstream's 0.4.8 as well and my fix seems to work well, at least for my purposes.

Cheers,
-jkt

[1] https://bugzilla.redhat.com/show_bug.cgi?id=454928
[2] http://bugs.centos.org/bug_view_page.php?bug_id=2882
[3] http://bugs.gentoo.org/show_bug.cgi?id=196083

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to