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
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
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.

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 &gt;= 10.5 and Darwin &gt;= 
+Setting up nfs, <a href="#macosx">Mac OS X &lt;= 10.4 and Darwin &lt;= 
 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 @@
-<h3><a name="macosx">Mac OS X and Darwin</a></h3>
+<h3><a name="leopard">Mac OS X &gt;= 10.5 and Darwin &gt;= 9</a></h3>
+<li><tt># <b>mkdir -p /export/client/root/dev</b></tt>
+<li><tt># <b>mkdir /export/client/usr</b></tt>
+<li><tt># <b>mkdir /export/client/home</b></tt>
+<li><tt># <b>touch /export/client/swap</b></tt>
+<li><tt># <b>cd /export/client/root</b></tt>
+<li>Add the following lines to <tt>/etc/exports</tt>:
+/export/client/root -maproot=root:wheel
+/export/client/swap -maproot=root:wheel
+/export/client/usr  -maproot=nobody:nobody
+/export/client/home -maproot=nobody:nobody</b></pre>
+<p><li><tt># <b>nfsd enable</b></tt><br>
+<p><li><tt># <b>showmount -e</b></tt><br>
+   Make sure nfsd is exporting the exports.  This should produce a list of
+   local exports.
+Continue on to setting up the client <a href="files.html">filesystem</a>
+<h3><a name="macosx">Mac OS X &lt;= 10.4 and Darwin &lt;= 8</a></h3>
 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