mdconfig(8) with offset? Or: resizing a NTFS qemu image

cpghost cpghost at cordula.ws
Fri Nov 14 16:45:14 PST 2008


Hello,

I'm trying to extend a ntfs filesystem in a qemu raw image, by
following the instructions here:

http://qemu-forum.ipi.fi/viewtopic.php?p=12362

Of course, this requires sysutils/ntfsprogs and the equivalent of
losetup. Of course, mdconfig is our losetup.

Now, how is it possible to mdconfig a file, but starting from a
specific offset?

(Of course, taking the image file apart, mdconfig one of its fragments,
then putting it back together could be a hackish work-around (?), but
it would be nice if mdconfig were able to map a partial file directly.)

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/


More information about the freebsd-questions mailing list