On Fri, Jun 26, 2020 at 09:08:27AM -0400, I wrote:
Now that exfat is available as a kernel module, it would be nice if the
/sbin/mount.exfat link were removed to make it easier for a user to choose
either the exfat kernel module or the fuse module at runtime. Currently the
link masks the kernel module so that exfat-fuse is always used, without the
link the kernel module would be used by default but mounting with -t exfat-fuse
would use the fuse implementation.

Alternatively, perhaps replacing the mount.exfat link with something like the following would be a better option, to transparently support kernels with and without the native module:

#!/bin/sh

if grep -qF exfat /proc/filesystems || modinfo exfat > /dev/null 2>&1 ; then
        mount -i $*
else
        mount.exfat-fuse $*
fi

Reply via email to