On Dec 23, 9:47 am, "ted bonkenburg" <[email protected]> wrote:
> On Tue, Dec 23, 2008 at 6:01 AM, Doug <[email protected]> wrote:

> If you wanted a command line file system, then you should have used
> the "Objective-C Command Line File System" template :-)

Oh, I see my error - I thought I created an Objective C COmmand Line
File System Read Only, but I obviously erred since there is no such
project - I must have created the "Objective-C File System Read Only.

>
> Let me know if this doesn't solve your problem...
>
> ted
>
>
>
> > My main (provided by the xcode template for macfuse) looks like this:
>
> > #import <Cocoa/Cocoa.h>
>
> > int main(int argc, char *argv[])
> > {
> >    return NSApplicationMain(argc,  (const char **) argv);
> > }
>
> > argv contains a number of directories that need to be passed into the
> > files system implementation provided by the xcode template (this one:)
>
> > @interface unionfs_Filesystem : NSObject  {
> >        NSArray *paths;  //the paths that go in the array, in the order they
> > will be searched.
> > }
>
> > From what code do I add the paths into the unionfs_Filesystem object?
> > Currently, I just hard code them in the init function for unionfs.
>
> > - (id)init {
> >        if ((self = [super init])) {
> >                paths = [NSArray arrayWithObjects: 
> > @"/Users/doug/junk/a",@"/Users/
> > doug/junk/b",nil];
> >                return self;
> >        }
> >        return nil;
> > }
>
> > Doug Ransom
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to