View | Details | Raw Unified | Return to bug 255213 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/fusefs-exfat/files/patch-fuse_main.c (+17 lines)
Line 0 Link Here
1
--- fuse/main.c.orig	2018-09-15 05:03:24 UTC
2
+++ fuse/main.c
3
@@ -502,6 +502,14 @@ static char* add_fuse_options(char* options, const cha
4
 	if (options == NULL)
5
 		return NULL;
6
 #endif
7
+#if defined(__FreeBSD__)
8
+	if (ef.automounted)
9
+	{
10
+		options = add_option(options, "automounted", NULL);
11
+		if (options == NULL)
12
+			return NULL;
13
+	}
14
+#endif
15
 	return options;
16
 }
17
 
(-)sysutils/fusefs-exfat/files/patch-libexfat_exfat.h (+12 lines)
Line 0 Link Here
1
--- libexfat/exfat.h.orig	2018-09-15 05:03:24 UTC
2
+++ libexfat/exfat.h
3
@@ -126,6 +126,9 @@ struct exfat
4
 	int ro;
5
 	bool noatime;
6
 	enum { EXFAT_REPAIR_NO, EXFAT_REPAIR_ASK, EXFAT_REPAIR_YES } repair;
7
+#if defined(__FreeBSD__)
8
+	bool automounted;
9
+#endif
10
 };
11
 
12
 /* in-core nodes iterator */
(-)sysutils/fusefs-exfat/files/patch-libexfat_mount.c (+13 lines)
Line 0 Link Here
1
--- libexfat/mount.c.orig	2018-09-15 05:03:24 UTC
2
+++ libexfat/mount.c
3
@@ -116,6 +116,10 @@ static void parse_options(struct exfat* ef, const char
4
 		ef->repair = EXFAT_REPAIR_NO;
5
 		break;
6
 	}
7
+#if defined(__FreeBSD__)
8
+	ef->automounted = match_option(options, "automounted");
9
+#endif
10
+
11
 }
12
 
13
 static bool verify_vbr_checksum(const struct exfat* ef, void* sector)

Return to bug 255213