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