diff -rNupd sysutils/fusefs-exfat.orig/files/patch-fuse_main.c sysutils/fusefs-exfat/files/patch-fuse_main.c --- sysutils/fusefs-exfat.orig/files/patch-fuse_main.c 1970-01-01 03:00:00.000000000 +0300 +++ sysutils/fusefs-exfat/files/patch-fuse_main.c 2021-04-19 10:42:34.609950000 +0300 @@ -0,0 +1,17 @@ +--- fuse/main.c.orig 2018-09-15 05:03:24 UTC ++++ fuse/main.c +@@ -502,6 +502,14 @@ static char* add_fuse_options(char* options, const cha + if (options == NULL) + return NULL; + #endif ++#if defined(__FreeBSD__) ++ if (ef.automounted) ++ { ++ options = add_option(options, "automounted", NULL); ++ if (options == NULL) ++ return NULL; ++ } ++#endif + return options; + } + diff -rNupd sysutils/fusefs-exfat.orig/files/patch-libexfat_exfat.h sysutils/fusefs-exfat/files/patch-libexfat_exfat.h --- sysutils/fusefs-exfat.orig/files/patch-libexfat_exfat.h 1970-01-01 03:00:00.000000000 +0300 +++ sysutils/fusefs-exfat/files/patch-libexfat_exfat.h 2021-04-18 00:48:13.023367000 +0300 @@ -0,0 +1,12 @@ +--- libexfat/exfat.h.orig 2018-09-15 05:03:24 UTC ++++ libexfat/exfat.h +@@ -126,6 +126,9 @@ struct exfat + int ro; + bool noatime; + enum { EXFAT_REPAIR_NO, EXFAT_REPAIR_ASK, EXFAT_REPAIR_YES } repair; ++#if defined(__FreeBSD__) ++ bool automounted; ++#endif + }; + + /* in-core nodes iterator */ diff -rNupd sysutils/fusefs-exfat.orig/files/patch-libexfat_mount.c sysutils/fusefs-exfat/files/patch-libexfat_mount.c --- sysutils/fusefs-exfat.orig/files/patch-libexfat_mount.c 1970-01-01 03:00:00.000000000 +0300 +++ sysutils/fusefs-exfat/files/patch-libexfat_mount.c 2021-04-18 00:48:13.027579000 +0300 @@ -0,0 +1,13 @@ +--- libexfat/mount.c.orig 2018-09-15 05:03:24 UTC ++++ libexfat/mount.c +@@ -116,6 +116,10 @@ static void parse_options(struct exfat* ef, const char + ef->repair = EXFAT_REPAIR_NO; + break; + } ++#if defined(__FreeBSD__) ++ ef->automounted = match_option(options, "automounted"); ++#endif ++ + } + + static bool verify_vbr_checksum(const struct exfat* ef, void* sector)