I maintain the management UI for an embedded device running a proprietary RTOS, which communicates with the manager over a simple socket. We have recently added a NFS client to said device, which runs NFS v2 or v3, so that it can access files over the network. I'm looking for a way to dynamically serve up a folder on the machine running the management app, to the device, from our management application, which is written in C# .NET 3.5.
So what I'm faced with is needing NFS server objects of some kind that I can instantiate, configure, and launch in code, then pass the info for the NFS share over to my device, which will then mount the share. Once the device is done, it will disconnect and tell me it's done, at which point I can shut down and dispose of the server object.
I've dug around a bit and found a few Java NFS servers, but nothing for C#. I found an excellent NFS client here (http://code.google.com/p/nekodrive/), but it seems to offer no serving functionality. Is there anything out there that does what I'm looking for, or am I going to have to write my own server from scratch?
Install Services for Unix (SFU, see external links for download detail), ensure you install the NFS server, and configure away. Then, in your .net app, use regular IO.