From: Miklos S. <mi...@sz...> - 2006-09-14 22:12:36
|
> do a popen( "fuesemount -u <mount point> ) from within the thread?? Calling fuse_exit() is a better way to achieve this. > By the time I finish my main and get into FUSE's init() the only errors > left are no memory and no thread start, if they turn up there are other > problems a foot. Yes, any "normal" failures should be checked before calling fuse_main(). That has the added advantage, that you can print an error message and return a proper exit code, which is impossible once the filesystem daemon went into to the background. Miklos |