From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 28 Jun 2007 19:36:29 +0200 From: Enrico Weigelt To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] What do I need for a small 9P2000 server @ Linux ? Message-ID: <20070628173628.GA8212@nibiru.local> References: <20070628133155.GB11624@nibiru.local> <13426df10706280820l13119c42r6b107e0eed489339@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13426df10706280820l13119c42r6b107e0eed489339@mail.gmail.com> User-Agent: Mutt/1.4.1i Topicbox-Message-UUID: 89cef216-ead2-11e9-9d60-3106f5b1d025 Okay folks, grabbed npfs and spfs from CVS. Both build fine. ufs and npfs seem to work, but I didn't yet understand how the other servers, ie. ramfs2, work. BTW, found some ugly bugs: if the server terminates while still mounted, restarting fails. strace shows socket is still in use. I remember there was an socket option to prevent that behaviour. The 9p driver in linux-2.6.19 (which currently is the latest stable in Gentoo) is some bit broken. First I had to fix the init function to abort if the result code if the called functions (ie. register_filesystem) is non-zero instead of zero ;o And if you're mounting the npfs or u9fs server and chdir into the mountpoint's subdir under the mountpoint itself, the process will hang (forever?). Obviously an recursion problem. cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service - http://www.metux.de/ --------------------------------------------------------------------- Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ ---------------------------------------------------------------------