Emmanuel,<div><br></div><div>Replies inline.<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am still working on glusterfs/NetBSD, and it is getting close to something<br>

actually usable. I still have a few issues, one of which is unmounting.<br>
<br></blockquote><div>Thats a good news.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When I use umount(8), I send a FUSE_DESTROY to glusterfs. That has no<br>
effect at all. Looking at the source, I can see that fuse_destroy()<br>
just returns succes and do nothing.<br>
<br>
Is it on purpose? What about adding a kill(getpid(), SIGTERM) here?<br>
What is the prefered way of unmounting right now?<br>
<br></blockquote><div>IMO its not on purpose. below patch should be better option than calling a kill().</div><div>-----</div><div><div>diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c</div>
<div>index dafc0a9..902c68a 100644</div><div>--- a/xlators/mount/fuse/src/fuse-bridge.c</div><div>+++ b/xlators/mount/fuse/src/fuse-bridge.c</div><div>@@ -2922,6 +2922,9 @@ fuse_destroy (xlator_t *this, fuse_in_header_t *finh, void *msg)</div>
<div>         send_fuse_err (this, finh, 0);</div><div> </div><div>         GF_FREE (finh);</div><div>+</div><div>+        if (this)</div><div>+                this-&gt;fini (this);</div><div> }</div><div> </div></div><div>
-----</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Another problem: invoking glusterfs with -s and without --volfile-id<br>
leads to a SIGSEGV because volfile_id is NULL. This can be fixed by<br>
adding an error message if --volfile-id is supplied without -s. Another<br>
approach would be to let the administrator supply the volfile_id in the<br>
-s string, for instance with glusterfs -s <a href="mailto:gfs1@gfs.example.net">gfs1@gfs.example.net</a> /mnt<br>
(I suggest this syntax rather than gfs.example.net:gfs1 just in case one<br>
want to add support for specifying an alternate port some day).<br><font class="Apple-style-span" color="#888888"><br></font></blockquote><div>Filed a bug here:  <a href="http://bugs.gluster.com/show_bug.cgi?id=2934">http://bugs.gluster.com/show_bug.cgi?id=2934</a></div>
<div><br></div><div>Patch sent to fix it: <a href="http://patches.gluster.com/patch/7232/">http://patches.gluster.com/patch/7232/</a></div><div><br></div><div>With these things should be smooth for you.</div><div><br></div>
<div>Regards,</div><div>Amar</div><meta http-equiv="content-type" content="text/html; charset=utf-8"></div></div>