Odd bug we've found: when volname or fsname contains the substring
'union' AND daemon_timeout is set, mount_fusefs fails with
"mount_fusefs: invalid value for argument daemon_timeout"
After quite a bit of investigation, this appears to be the only
combination of options which produce an error. We rooted through the
code for a while and don't notice anything obvious that could even
potentially cause this. I had hoped we could submit a patch and help
out a bit, but I've been scratching my head as to the cause for a few
hours and don't have any solid leads.
To replicate the issue, I offer this tiny patch to HelloFS. I just
modify volname to contain 'union' and add a daemon_timeout option. In
other tests I've run it appears that ordering of options does not
matter, nor does adjacency.
Index: filesystems-objc/HelloFS/HelloController.m
===================================================================
--- filesystems-objc/HelloFS/HelloController.m (revision 1681)
+++ filesystems-objc/HelloFS/HelloController.m (working copy)
@@ -49,7 +49,8 @@
fs_ = [[GMUserFileSystem alloc] initWithDelegate:hello
isThreadSafe:YES];
NSMutableArray* options = [NSMutableArray array];
[options addObject:@"rdonly"];
- [options addObject:@"volname=HelloFS"];
+ [options addObject:@"volname=HellounionFS"];
+ [options addObject:@"daemon_timeout=40"];
[options addObject:[NSString stringWithFormat:@"volicon=%@",
[[NSBundle mainBundle] pathForResource:@"Fuse" ofType:@"icns"]]];
[fs_ mountAtPath:mountPath withOptions:options];
building and running with this patch applied yields the same error
message from mount_fusefs
"mount_fusefs: invalid value for argument daemon_timeout"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MacFUSE" 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?hl=en
-~----------~----~----~----~------~----~------~--~---