2 Building unfs3 for Windows
3 ==========================
5 Building unfs3 using MinGW
6 --------------------------
7 1. Build and install the oncrpc-ms library (http://oncrpc-ms.sourceforge.net/)
9 2. Configure unfs3 with:
11 LIBS="/myprefix/oncrpc-ms/lib/liboncrpc.a -lwsock32" CFLAGS="-I/myprefix/oncrpc-ms/include -DONCRPCDLL" ./configure --host=`gcc -dumpmachine`
14 Using unfs3 on Windows
15 ======================
19 * Single-user mode is required. Internally, unfs3 assumes that it is
22 * Foreground mode is required.
24 * Inode numbers are emulated by hashing file paths. This means that
25 there's a small risk that two files ends up with the same inode
31 unfs3 implements a virtual file system. The root "/" directory
32 contains the drive letters of the drives present on the system. Below
33 each drive letter, the actual drive contents is found. unfs3 uses
34 forward slashes instead of backslashes. This applies both to mount
35 requests and the exports-file.
46 unfsd.exe -s -d -p -n 4711 -m 4711 -e exports
49 Example mount command from a Linux host
50 ---------------------------------------
51 mount -o port=4711,mountport=4711,mountvers=3,nfsvers=3,nolock,tcp mywindowshost:/c/windows/temp /mnt