Check-in [a2d245a487]
Overview
Comment:Added ignored option for "rw" for fstab support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a2d245a4879bc8667aba11dec7a63549ca799fd2
User & Date: rkeene on 2014-11-18 03:07:25
Other Links: manifest | tags
Context
2014-11-18
03:21
Updated to fully qualify path to key and certificate check-in: 4bd1108d37 user: rkeene tags: trunk
03:07
Added ignored option for "rw" for fstab support check-in: a2d245a487 user: rkeene tags: trunk
02:56
Added licensing information (MIT License) check-in: 9dd5234a64 user: rkeene tags: trunk
Changes

Modified appfsd.c from [0194f4a093] to [bb0851401c].

2001
2002
2003
2004
2005
2006
2007


2008
2009
2010
2011
2012


2013
2014


2015
2016
2017
2018
2019
2020
2021
					optstr_next = strchr(optstr, ',');
					if (optstr_next) {
						*optstr_next = '\0';
						optstr_next++;
					}

					if (strcmp(optstr, "nothreads") == 0) {


						fuse_opt_parse(args, NULL, NULL, NULL);
						fuse_opt_add_arg(args, "-s");

						appfs_threaded_tcl = 0;
					} else if (strcmp(optstr, "allow_other") == 0) {


						fuse_opt_parse(args, NULL, NULL, NULL);
						fuse_opt_add_arg(args, "-oallow_other");


					} else {
						fprintf(stderr, "appfsd: invalid option: \"-o %s\"\n", optstr);

						free(optstr_s);

						return(1);
					}







>
>





>
>


>
>







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);
					}