cnetdrive-server is a standalone UDP server for the mTCP NetDrive DOS client.
This tree has been updated for compatibility with the newer NetDrive DOS client builds, including:
- protocol v3 request and response framing
- larger I/O sizes used by current clients
- correct
WRITE_VERIFYreply behavior forVERIFY ON
./configure
makeServe exports from the current directory:
./cnetdrive serveServe exports from a specific directory:
./cnetdrive serve -root ./exportsUseful options:
-root DIRor-image_dir DIRor-export_dir DIR: export root directory-port N: UDP port, default2002-max_sessions N: maximum concurrent sessions-timeout N: idle session timeout in seconds
Mount an export called disk.dsk on drive D::
ND C 192.168.1.10:2002 disk.dsk D:
Disconnect it later:
ND D D:
- Disk images are served from the export root by filename.
- Host folders can also be exported by directory name.
- Make an image read-only with filesystem permissions.
- Add
<image>.session_scopednext to an image to keep writes session-local. - Add
<image>.journalnext to an image to enable checkpoints.
GNU GPL v3 or later. See LICENSE.