FreeBSD Bugzilla – Attachment 224243 Details for
Bug 255213
sysutils/fusefs-exfat: Pass "automounted" option into kernel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches allows to pass "automounted" option into kernel
patch-sysutils_fusefs-exfat (text/plain), 1.97 KB, created by
Iouri V. Ivliev
on 2021-04-19 08:43:19 UTC
(
hide
)
Description:
Patches allows to pass "automounted" option into kernel
Filename:
MIME Type:
Creator:
Iouri V. Ivliev
Created:
2021-04-19 08:43:19 UTC
Size:
1.97 KB
patch
obsolete
>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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255213
:
224243
|
224279