Hi all,
I'm trying to write a MacFuse FS that's RW. I started from the hellofs
sample, and was quickly able to have a Read Only FS. But now I'm stuck
when I'm trying to create files in my FS. I always get Permission
Denied errors.
So I had a look at how one could debug a Fuse FS and it looks like
checking the loopback canonical example is the good way to go. So I
added trace calls* to all entry point (open / write / getattr / ...),
to try to see what's happening when a file is created / copyed. But I
cannot see anything ! The only trace I get is when I'm reading the
FS.
Thanks for any feedback guys !
- Benjamin
ps:
I can copy my modified loopback.c in the thread if anyone is
interested.
My helper.
/* helper for tracing */
static void trace(const char* func, const char* msg)
{
FILE* fd = fopen("/tmp/loopback.log", "a");
fprintf(fd, "%s: %s\n", func, msg);
fclose(fd);
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---