NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/45349: Patch for NFS netboot setup docs for MacOS X
>Number: 45349
>Category: misc
>Synopsis: Patch for NFS netboot setup docs for MacOS X
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Sep 09 02:35:00 +0000 2011
>Originator: David Gilman
>Release: n/a
>Organization:
>Environment:
Not really applicable, but if you really want to know Darwin davidibook-3.local
9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
root:xnu-1228.15.4~1/RELEASE_I386 i386
>Description:
Attached is a patch against the docs in CVS. It adds a new category explaining
how to configure nfsd on recent versions of MacOS X.
>How-To-Repeat:
>Fix:
Index: docs/network/netboot/nfs.html
===================================================================
RCS file: /cvsroot/htdocs/docs/network/netboot/nfs.html,v
retrieving revision 1.3
diff -u -r1.3 nfs.html
--- docs/network/netboot/nfs.html 1 Aug 2007 15:36:02 -0000 1.3
+++ docs/network/netboot/nfs.html 9 Sep 2011 01:54:25 -0000
@@ -111,7 +111,8 @@
Setting up nfs, <a href="#netbsd">NetBSD</a><br>
Setting up nfs, <a href="#openbsd">OpenBSD</a><br>
Setting up nfs, <a href="#freebsd">FreeBSD</a><br>
-Setting up nfs, <a href="#macosx">Mac OS X and Darwin</a><br>
+Setting up nfs, <a href="#leopard">Mac OS X >= 10.5 and Darwin >=
9</a><br>
+Setting up nfs, <a href="#macosx">Mac OS X <= 10.4 and Darwin <=
8</a><br>
Setting up nfs, <a href="#linux">Linux</a><br>
Setting up nfs, <a href="#sunos">SunOS</a><br>
Setting up nfs, <a href="#solaris">Solaris</a><br>
@@ -266,7 +267,54 @@
<hr>
-<h3><a name="macosx">Mac OS X and Darwin</a></h3>
+<h3><a name="leopard">Mac OS X >= 10.5 and Darwin >= 9</a></h3>
+<dl><dt><dd>
+<p>
+
+<ol>
+<li><tt># <b>mkdir -p /export/client/root/dev</b></tt>
+<p>
+
+<li><tt># <b>mkdir /export/client/usr</b></tt>
+<p>
+
+<li><tt># <b>mkdir /export/client/home</b></tt>
+<p>
+
+<li><tt># <b>touch /export/client/swap</b></tt>
+<p>
+
+<li><tt># <b>cd /export/client/root</b></tt>
+<p>
+
+<li><tt># <b>tar -xvpzf /export/client/NetBSD-release/binary/sets/kern.tgz</b></tt>
+<p>
+
+<li><tt># <b>mknod /export/client/root/dev/console c 0 0</b></tt>
+<p>
+
+<li>Add the following lines to <tt>/etc/exports</tt>:
+<pre><b>#/etc/exports
+/export/client/root -maproot=root:wheel client.test.net
+/export/client/swap -maproot=root:wheel client.test.net
+/export/client/usr -maproot=nobody:nobody client.test.net
+/export/client/home -maproot=nobody:nobody client.test.net</b></pre>
+<p>
+
+<p><li><tt># <b>nfsd enable</b></tt><br>
+<p>
+
+<p><li><tt># <b>showmount -e</b></tt><br>
+ Make sure nfsd is exporting the exports. This should produce a list of
+ local exports.
+<p>
+
+Continue on to setting up the client <a href="files.html">filesystem</a>
+</dd></dl>
+
+<hr>
+
+<h3><a name="macosx">Mac OS X <= 10.4 and Darwin <= 8</a></h3>
<dl><dt><dd>
This setup for Mac OS X and Darwin use the NetInfo system. There are ways to
use typical BSD-style configuration files, but most systems are by default
Home |
Main Index |
Thread Index |
Old Index