2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
|
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
|
+
+
+
+
+
+
|
optstr_next = strchr(optstr, ',');
if (optstr_next) {
*optstr_next = '\0';
optstr_next++;
}
if (strcmp(optstr, "nothreads") == 0) {
APPFS_DEBUG("Passing option to FUSE: -s");
fuse_opt_parse(args, NULL, NULL, NULL);
fuse_opt_add_arg(args, "-s");
appfs_threaded_tcl = 0;
} else if (strcmp(optstr, "allow_other") == 0) {
APPFS_DEBUG("Passing option to FUSE: -o allow_Other");
fuse_opt_parse(args, NULL, NULL, NULL);
fuse_opt_add_arg(args, "-oallow_other");
} else if (strcmp(optstr, "rw") == 0) {
/* Ignored */
} else {
fprintf(stderr, "appfsd: invalid option: \"-o %s\"\n", optstr);
free(optstr_s);
return(1);
}
|