Richard W.M. Jones
2022-Mar-14 09:12 UTC
[Libguestfs] guestfish with support Microsoft ReFS
[Please always CC the mailing list] On Mon, Mar 14, 2022 at 09:24:08AM +0100, Gottschalk wrote:> Hello Rich, > > i installed the ReFS driver on a Testsystem. > > But guestfish doesn't find the ReFS driver which is a Kernelmodul. > > To mount a ReFS Partition i have to type the following command: > > ?mount -t urefs /dev/sdb2 /mnt > > Can you solve the problem?There is probably a package of userspace tooling containing 'mount.urefs' and similar programs. You'll need to add that to the libguestfs appliance, by adding the package name to appliance/packagelist.in (if building from source) or $libdir/guestfs/supermin.d/packages (if using the system libguestfs package). Note this will only work correctly if the userspace tooling is packaged and installed as a distro package, ie. an RPM or .deb. If they are doing stupid stuff then you'll need to list the files separately in 'hostfiles' which is more complicated. You can check whether or not the right tools get included in the appliance using virt-rescue. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html