Subject: misc/2092: diskless(8) man page out of date
To: None <gnats-bugs@NetBSD.ORG>
From: Andrew Gallatin <gallatin@isds.duke.edu>
List: netbsd-bugs
Date: 02/17/1996 15:06:17
>Number: 2092
>Category: misc
>Synopsis: diskless(8) man page out of date
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 17 15:50:01 1996
>Last-Modified:
>Originator: Andrew Gallatin, gallatin@isds.duke.edu
>Organization:
Duke University, ISDS
>Release: <NetBSD-current source date> NetBSD-current 2-17-96
>Environment:
System: NetBSD serov.isds.duke.edu 1.1A NetBSD 1.1A (SEROV) #10: Wed Feb 7 17:11:35 EST 1996 gallatin@serov.isds.duke.edu:/usr/src/sys/arch/pmax/compile/SEROV pmax
>Description:
the diskless man page doesn't seem to agree with the way mountd
currently works. Specifically, it suggests exporting a parent of the
filesystems that a diskless client requires in order to boot. It also
doesn't mention in its example that the NetBSD server's exports file needs to
contain the flag -alldirs in order for this to work.
>How-To-Repeat:
Attempt to boot a NetBSD-Current diskless client from a NetBSD-Current server,
using the procedure outlined in the diskless (8) man page. It will
fail to mount root & panic.
>Fix:
apply the following diff:
*** diskless.8.original Sat Feb 17 14:57:33 1996
--- diskless.8 Sat Feb 17 14:57:57 1996
***************
*** 253,259 ****
# for SunOS:
# /export/myclient -rw=myclient,root=myclient
# for NetBSD:
! /export/myclient -maproot=root myclient
.Ed
.Pp
If the server and client are of the same architecture, then the client
--- 253,259 ----
# for SunOS:
# /export/myclient -rw=myclient,root=myclient
# for NetBSD:
! /export/myclient -maproot=root -alldirs myclient
.Ed
.Pp
If the server and client are of the same architecture, then the client
>Audit-Trail:
>Unformatted: