Hi FUSEObjC users,
in my project I'd like to see FUSEFileSystem.m implementing methods
for mount time options, similar to the -shouldMountInFinder option,
i.e.:
--- snip ---
Index: FUSEFileSystem.m
===================================================================
--- FUSEFileSystem.m (revision 648)
+++ FUSEFileSystem.m (working copy)
@@ -789,7 +789,18 @@
+#pragma mark Options
+
+- (BOOL)isLocal {
+ return NO;
+}
+
+- (BOOL)shouldAllowOther {
+ return NO;
+}
+
+
#pragma mark -
+- (BOOL)shouldAllowOther {
+ return NO;
+}
+
+
#pragma mark -
@@ -1161,6 +1172,13 @@
if ([self shouldMountInFinder]) {
[arguments addObject:@"-oping_diskarb"]; // Ping diskarb to look
for our ne
w mount point.
}
+ if ([self isLocal]) {
+ [arguments addObject:@"-olocal"];
+ }
+ if ([self shouldAllowOther]) {
+ [arguments addObject:@"-allow_other"];
+ }
+
[arguments addObject:mountPath];
// Start Fuse Main
--- snap ---
I don't think it would hurt anybody, naming is subject to
discussion...
Cheers,
Marcus
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---