mukulyadav49 / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

fuse_unmount_compat22 function is missing #281

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to Compile Mono.Fuse

What is the expected output? What do you see instead?
Compilation should succeed when FUSE_USE_VERSION is set to 25

What version of the product are you using? On what operating system?
Current SVN as of 2007-10-30.

Please provide any additional information below.
The Mono.Fuse project website is at http://www.jprl.com/Projects/mono-fuse.html
The GIT repository ist at http://www.jprl.com/Projects/mono-fuse.git (use
git-clone for a check-out).

Original issue reported on code.google.com by mark.jun...@gmail.com on 30 Oct 2007 at 6:36

GoogleCodeExporter commented 9 years ago
Hmm... I never had the need to use this function and nobody asked for it so 
far. A trivial implementation would 
merely boil down to system("/sbin/umount mountpoint"). I could probably add it 
in a future revision of the user-
space library. In the meanwhile, you could implement it trivially within your 
language binding code itself, or modify 
the svn code for libfuse.  A MacFUSE-specific implementation in libfuse could 
be something like:

void fuse_unmount_compat22(const char *mountpoint)
{
    fuse_kern_unmount(mountpoint, fuse_chan_fd_np());
}

Original comment by si...@gmail.com on 30 Oct 2007 at 6:57

GoogleCodeExporter commented 9 years ago
Thank you. Compilation works. Now I have a problem when unmounting a volume. I
started the HelloFS from Mono.Fuse and got dyld errors when unmounting the 
volume. I
attach the whole log.

Original comment by mark.jun...@gmail.com on 1 Nov 2007 at 7:48

Attachments:

GoogleCodeExporter commented 9 years ago
I've added the function you wanted to the source tree.

> Now I have a problem when unmounting a volume.

You should move this discussion to the macfuse-devel forum. Please don't 
(ab)use this section by posting 
arbitrary help requests/usage discussion here. Things people post here map to 
TODO items for me, even if the 
item is merely to close non-issues--an abysmal waste of time that could be used 
elsewhere.

Original comment by si...@gmail.com on 3 Nov 2007 at 3:04