From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <487B66AC.1030909@ec.gc.ca> Date: Mon, 14 Jul 2008 14:46:04 +0000 From: John Marshall User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] mounts of 9p filesystems under linux Topicbox-Message-UUID: e4be3334-ead3-11e9-9d60-3106f5b1d025 Hi, Doing some fiddling around, I wrote a simple 9p server to answer the Tversion message with an Rversion or Rerror. The thing is, once the *version comm is done, I terminate the server. At this point, the 9p driver seems not to clean up resulting in the modules having an increasing number of references (shown by lsmod). Note: I 'kill -9' the mount because I want to invoke it again, but differently. Q. How long will the driver think that the server at the other end is still alive after the socket has closed? Q. How can I force the driver to clean up/release what it is holding on to (even after a kill of the mount)? Thanks, John