Check-in [8eb7be2398]
Overview
Comment:Added appropriate subtype
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tcl-ops
Files: files | file ages | folders
SHA1: 8eb7be239872ebf5d8f064f272cf7f5e2f6de8ae
User & Date: rkeene on 2014-11-07 06:52:49
Other Links: branch diff | manifest | tags
Context
2014-11-07
07:14
Added a "--cachedir" option for use when not using FUSE and added the same option to "appfs-cache" check-in: ddd31f22a4 user: rkeene tags: tcl-ops
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
Changes

Modified appfsd.c from [99b621ee4d] to [b204b9e307].

782
783
784
785
786
787
788
789

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

789
790
791
792
793
794
795
796
797
798
799
800
801
802







-
+













		return(appfs_tcl(argv[2]));
	}

	/*
	 * 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");
	fuse_opt_add_arg(&args, "-odefault_permissions,fsname=appfs,subtype=appfsd,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));
}