readme: formatting changes
use <strong> instead of <span class="filename"> and <code> instead of <span class="code"> Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
1b88791f6f
commit
5c4f9e789f
1 changed files with 27 additions and 29 deletions
56
README.html
56
README.html
|
|
@ -18,8 +18,6 @@
|
||||||
h1 { font-size: 2em; text-align: center; background: none; }
|
h1 { font-size: 2em; text-align: center; background: none; }
|
||||||
h2 { margin: 24px 0 8px 0; font-variant: small-caps; border-bottom: 1px dashed #88A; }
|
h2 { margin: 24px 0 8px 0; font-variant: small-caps; border-bottom: 1px dashed #88A; }
|
||||||
h3 { margin-left: 8px; }
|
h3 { margin-left: 8px; }
|
||||||
span.filename { font-weight: bold; }
|
|
||||||
span.code { font-family: Courier; }
|
|
||||||
/*]]>*/
|
/*]]>*/
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
@ -40,70 +38,70 @@
|
||||||
<h3>Requirements</h3>
|
<h3>Requirements</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Windows Vista x64, Windows Server 2008 R2 x64, or Windows 7 x64. (Windows XP and previous versions are not supported. 32-bit builds have not been tested.)</li>
|
<li>Windows Vista x64, Windows Server 2008 R2 x64, or Windows 7 x64. (Windows XP and previous versions are not supported. 32-bit builds have not been tested.)</li>
|
||||||
<li>ms-nfs41-client source code:
|
|
||||||
<br/><span class="code">> git clone git://citi.umich.edu/projects/ms-nfs41-client.git</span></li>
|
|
||||||
<li>Windows Driver Development Kit (WinDDK 6000 or later)</li>
|
<li>Windows Driver Development Kit (WinDDK 6000 or later)</li>
|
||||||
|
<li>ms-nfs41-client source code:
|
||||||
|
<br/><code>> git clone git://citi.umich.edu/projects/ms-nfs41-client.git</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Instructions</h3>
|
<h3>Instructions</h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Open the WinDDK 'x64 Checked Build Environment' for the target platform.</li>
|
<li>From the Start menu, open the WinDDK 'x64 Checked Build Environment' for the target platform.</li>
|
||||||
<li>Change directory to <span class="filename">ms-nfs41-client</span> and type <span class="code">build</span>. The project should build without errors.</li>
|
<li>Change directory to <strong>ms-nfs41-client</strong> and type <code>build</code>. The project should build without errors.</li>
|
||||||
</ol>
|
</ol>
|
||||||
<h2>2. <a name="install">Installation</a></h2>
|
<h2>2. <a name="install">Installation</a></h2>
|
||||||
<h3>Requirements</h3>
|
<h3>Requirements</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>ms-nfs41-client binaries: <span class="filename">nfs41_driver.sys</span>, <span class="filename">nfs41_np.dll</span>, <span class="filename">libtirpc.dll</span>, <span class="filename">nfs_install.exe</span>, <span class="filename">nfsd.exe</span>, <span class="filename">nfs_mount.exe</span></li>
|
<li>ms-nfs41-client binaries: <strong>nfs41_driver.sys</strong>, <strong>nfs41_np.dll</strong>, <strong>libtirpc.dll</strong>, <strong>nfs_install.exe</strong>, <strong>nfsd.exe</strong>, <strong>nfs_mount.exe</strong></li>
|
||||||
<li>ms-nfs41-client configuration files: <span class="filename">nfs41rdr.inf</span>, <span class="filename">install.bat</span>, <span class="filename">uninstall.bat</span>, <span class="filename">etc_netconfig</span></li>
|
<li>ms-nfs41-client configuration files: <strong>nfs41rdr.inf</strong>, <strong>install.bat</strong>, <strong>uninstall.bat</strong>, <strong>etc_netconfig</strong></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Instructions</h3>
|
<h3>Instructions</h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Copy or extract all ms-nfs41-client binaries and configuration files into a directory that's convenient for testing.</li>
|
<li>Copy or extract all ms-nfs41-client binaries and configuration files into a directory that's convenient for testing.</li>
|
||||||
<li>Open a WinDDK 'x64 Checked Build Environment' as Administrator in this directory (right click and 'Run as administrator').</li>
|
<li>Open a WinDDK 'x64 Checked Build Environment' as Administrator in this directory (right click and 'Run as administrator').</li>
|
||||||
<li>Create a certificate for test-signing the driver (<a href="http://msdn.microsoft.com/en-us/library/ff540213%28VS.85%29.aspx" title="msdn.microsoft.com">Creating Test Certificates</a>):
|
<li>Create a certificate for test-signing the driver (<a href="http://msdn.microsoft.com/en-us/library/ff540213%28VS.85%29.aspx" title="msdn.microsoft.com">Creating Test Certificates</a>):
|
||||||
<br/><span class="code">> makecert /pe /ss PrivateCertStore /n CN=nfs41_test nfs41_test.cer</span></li>
|
<br/><code>> makecert /pe /ss PrivateCertStore /n CN=nfs41_test nfs41_test.cer</code></li>
|
||||||
<li>Use the certificate to sign <span class="filename">nfs41_driver.sys</span> (<a href="http://msdn.microsoft.com/en-us/library/ff553467%28VS.85%29.aspx" title="msdn.microsoft.com">Test-Signing a Driver File</a>):
|
<li>Use the certificate to sign <strong>nfs41_driver.sys</strong> (<a href="http://msdn.microsoft.com/en-us/library/ff553467%28VS.85%29.aspx" title="msdn.microsoft.com">Test-Signing a Driver File</a>):
|
||||||
<br/><span class="code">> signtool sign /v /s PrivateCertStore /n nfs41_test /t http://timestamp.verisign.com/scripts/timestamp.dll nfs41_driver.sys</span></li>
|
<br/><code>> signtool sign /v /s PrivateCertStore /n nfs41_test /t http://timestamp.verisign.com/scripts/timestamp.dll nfs41_driver.sys</code></li>
|
||||||
<li>Install the certificate to the 'Trusted Root Certificate Authorities' store:
|
<li>Install the certificate to the 'Trusted Root Certificate Authorities' store:
|
||||||
<br/><span class="code">> certmgr /add /c nfs41_test.cer /s /r localMachine root</span></li>
|
<br/><code>> certmgr /add /c nfs41_test.cer /s /r localMachine root</code></li>
|
||||||
<li>Install the driver and update the registry:
|
<li>Install the driver and update the registry:
|
||||||
<br/><span class="code">> install.bat</span></li>
|
<br/><code>> install.bat</code></li>
|
||||||
<li>Copy the libtirpc configuration:
|
<li>Copy the libtirpc configuration:
|
||||||
<br/><span class="code">> mkdir C:\etc</span>
|
<br/><code>> mkdir C:\etc</code>
|
||||||
<br/><span class="code">> copy etc_netconfig C:\etc\netconfig</span></li>
|
<br/><code>> copy etc_netconfig C:\etc\netconfig</code></li>
|
||||||
<li>Allow windows to load test-signed drivers:
|
<li>Allow windows to load test-signed drivers:
|
||||||
<br/><span class="code">> bcdedit /set testsigning on</span></li>
|
<br/><code>> bcdedit /set testsigning on</code></li>
|
||||||
<li>Reboot.</li>
|
<li>Reboot.</li>
|
||||||
</ol>
|
</ol>
|
||||||
<h2>3. <a name="mount">Mounting</a></h2>
|
<h2>3. <a name="mount">Mounting</a></h2>
|
||||||
<h3>Instructions</h3>
|
<h3>Instructions</h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li>From a Windows command prompt, run <span class="filename">nfsd.exe</span>.</li>
|
<li>From a Windows command prompt, run <strong>nfsd.exe</strong>.</li>
|
||||||
<li>Open a new Windows command prompt and run <span class="filename">nfs_mount.exe</span> to mount a share:
|
<li>Open a new Windows command prompt and run <strong>nfs_mount.exe</strong> to mount a share:
|
||||||
<br/><span class="code">> nfs_mount.exe Z: nfs.citi.umich.edu:\</span></li>
|
<br/><code>> nfs_mount.exe Z: nfs.citi.umich.edu:\</code></li>
|
||||||
<li>You can later unmount with:
|
<li>You can later unmount with:
|
||||||
<br/><span class="code">> nfs_mount.exe -d Z</span></li>
|
<br/><code>> nfs_mount.exe -d Z</code></li>
|
||||||
</ol>
|
</ol>
|
||||||
<h2>4. <a name="cthon">Connectathon</a></h2>
|
<h2>4. <a name="cthon">Connectathon</a></h2>
|
||||||
<h3>Requirements</h3>
|
<h3>Requirements</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://www.cygwin.com" title="www.cygwin.com">Cygwin</a>, including packages gcc-core, make, time, tirpc, git</li>
|
<li><a href="http://www.cygwin.com" title="www.cygwin.com">Cygwin</a>, including packages gcc-core, make, time, tirpc, git</li>
|
||||||
<li><a href="http://www.connectathon.org/nfstests.html" title="www.connectathon.org">Connectathon Test Suite</a></li>
|
<li><a href="http://www.connectathon.org/nfstests.html" title="www.connectathon.org">Connectathon Test Suite</a></li>
|
||||||
<li>ms-nfs41-client source code (patches for connectathon are located in <span class="filename">ms-nfs41-client\tests</span>)</li>
|
<li>ms-nfs41-client source code (patches for connectathon are located in <strong>ms-nfs41-client\tests</strong>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Instructions</h3>
|
<h3>Instructions</h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Extract <span class="filename">nfstests.zip</span> into a directory that's convenient for testing (i.e. <span class="filename">cthon04</span>).</li>
|
<li>Extract <strong>nfstests.zip</strong> into a directory that's convenient for testing (i.e. <strong>cthon04</strong>).</li>
|
||||||
<li>Open a Cygwin shell, and change directory to <span class="filename">cthon04</span>.</li>
|
<li>Open a Cygwin shell, and change directory to <strong>cthon04</strong>.</li>
|
||||||
<li>Create a git repository to track changes:
|
<li>Create a git repository to track changes:
|
||||||
<br/><span class="code">> git init</span>
|
<br/><code>> git init</code>
|
||||||
<br/><span class="code">> git add *</span>
|
<br/><code>> git add *</code>
|
||||||
<br/><span class="code">> git commit -m "files from nfstests.zip"</span></li>
|
<br/><code>> git commit -m "files from nfstests.zip"</code></li>
|
||||||
<li>Apply all cthon patches:
|
<li>Apply all cthon patches:
|
||||||
<br/><span class="code">> git am /path/to/ms-nfs41-client/tests/*.patch</span></li>
|
<br/><code>> git am /path/to/ms-nfs41-client/tests/*.patch</code></li>
|
||||||
<li>Build the tests:
|
<li>Build the tests:
|
||||||
<br/><span class="code">> make</span></li>
|
<br/><code>> make</code></li>
|
||||||
<li>Run the test suite on a mounted directory:
|
<li>Run the test suite on a mounted directory:
|
||||||
<br/><span class="code">> ./runtests -a -t z:/testdir</span></li>
|
<br/><code>> ./runtests -a -t z:/testdir</code></li>
|
||||||
</ol>
|
</ol>
|
||||||
<h2>5. <a name="issues">Known Issues</a></h2>
|
<h2>5. <a name="issues">Known Issues</a></h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue