It was a kernel module:

#############################################
#
# Build Paragon ReFS kernel module
#


paragon_refs_tar_gz=${work_dir}/Paragon-*-ReFS-Linux.tar.gz

function build-paragon-refs {
    local paragon_refs_src_dir=${work_dir}/paragon-src-refs

    if [ -f ${paragon_refs_tar_gz} ]; then
        mkdir -p ${paragon_refs_src_dir} || error-exit
        tar xf ${paragon_refs_tar_gz} -C ${paragon_refs_src_dir} || error-exit

        ( cd ${paragon_refs_src_dir} && ./configure
--with-modulename=ReFS --with-ks-dir=${kernel_src_dir}
--with-kernelversion=${KERNEL_VERSION} ) || error-exit
        ( cd ${paragon_refs_src_dir} && make driver ) || error-exit

        mkdir -p ${SUPERMIN_MODULES}/kernel/fs/ReFS || error-exit
        cp -f ${paragon_refs_src_dir}/ReFS.ko
${SUPERMIN_MODULES}/kernel/fs/ReFS/ || error-exit
        depmod -a --basedir ${kernel_modules_dir} ${KERNEL_VERSION} ||
error-exit

        echo 'alias fs_ReFS ReFS' > /etc/modprobe.d/ReFS.conf || error-exit
        echo '/etc/modprobe.d/ReFS.conf' >
${supermin_dir}/modprobe.d-ReFS-hostfiles || error-exit
    fi
}


--
  Mykola Ivanets

ср, 5 січ. 2022, 21:36 користувач Richard W.M. Jones <[email protected]>
пише:

> On Wed, Jan 05, 2022 at 09:27:34PM +0200, Nikolay Ivanets wrote:
> > p.s. Previously you could download the driver directly from their
> website. Now
> > you have to contact them. :-(
> >
> > --
> >   Mykola Ivanets
> >
> > ср, 5 січ. 2022, 21:21 користувач Nikolay Ivanets <[email protected]>
> пише:
> >
> >     There is ReFS driver for Linux by Paragon:
> https://www.paragon-software.com
> >     /home/refs-linux/
> >
> >     You are unlikely to include it onto libguestfs (it is proprietary and
> >     likely there are license restrictions) but I successfully used it my
> own to
> >     read ReFS file system from with libguestfs.
>
> Thanks - I didn't know aboutu this.
>
> Do you recall what they are providing?  eg. Kernel module, userspace
> FUSE binary, etc?
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
> http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> Fedora Windows cross-compiler. Compile Windows programs, test, and
> build Windows installers. Over 100 libraries supported.
> http://fedoraproject.org/wiki/MinGW
>
>
_______________________________________________
Libguestfs mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to