On Sat, 12 Jul 2008, Alexander Galanin wrote:
> Hello!
>
> I am author of fuse-zip(
http://code.google.com/p/fuse-zip/) file system
> for FUSE.
>
> My file system saves all modified data to archive only on unmounting
> (on destroy() operation call). This can take a very long time.
>
> When I run 'fusermount -u $mountPoint' fusermount process will return
> to the shell before filesystem really unmounted.
>
> Is it possible to wait for file system process finish before unmounting?
Well, you can do something like:
while test "`pidof fuse-zip`" != ""; do sleep 1; done
Synchronous umount is on my todo list.
Miklos
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
fuse-devel mailing list
fuse-devel@...
https://lists.sourceforge.net/lists/listinfo/fuse-devel