Check-in [317348f60e]
Overview
Comment:More work towards adding support for automatic options
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tcl-ops
Files: files | file ages | folders
SHA1: 317348f60e7d9850f0ad2846a13b1f4320ec2a11
User & Date: rkeene on 2014-11-07 06:48:54
Other Links: branch diff | manifest | tags
Context
2014-11-07
06:52
Added appropriate subtype check-in: 8eb7be2398 user: rkeene tags: tcl-ops
06:48
More work towards adding support for automatic options check-in: 317348f60e user: rkeene tags: tcl-ops
06:47
Added start of supplying default options check-in: a7e9dac6ce user: rkeene tags: tcl-ops
Changes

Modified appfsd.c from [71ddae3095] to [99b621ee4d].

783
784
785
786
787
788
789





790
791
792
793
794
795
796
797
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802







+
+
+
+
+








	}

	/*
	 * Add FUSE arguments which we always supply
	 */
	fuse_opt_parse(&args, NULL, NULL, NULL);
	fuse_opt_add_arg(&args, "-odefault_permissions,fsname=appfs,use_ino,kernel_cache,entry_timeout=60,attr_timeout=3600,intr,big_writes");

	if (getuid() == 0) {
		fuse_opt_parse(&args, NULL, NULL, NULL);
		fuse_opt_add_arg(&args, "-oallow_other");
	}

	/*
	 * Enter the FUSE main loop -- this will process any arguments
	 * and start servicing requests.
	 */
	return(fuse_main(args.argc, args.argv, &appfs_operations, NULL));
}