Bug 42076

Summary: diskless.8 man page unsafe example
Product: Documentation Reporter: molter <molter>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description molter 2002-08-27 13:20:01 UTC
In the diskless.8 man page there is an example that contradicts the text:

   an NFS server which exports a root and /usr partition with appropri-
   ate permissions.  The rc.diskless{1,2} scripts work with readonly
   partitions, as long as root is exported with -maproot=0 so that some
   system files can be accessed.  As an example, /etc/exports can con-
   tain the following lines:

          <ROOT> -maproot=0 -alldirs <list of diskless clients>
          /usr -alldirs <list of diskless clients>


you see? It says to export the partitions readonly, but the example
exports them read-write! The manpage is the same on stable and current.

Fix: Following patch fixes this. Checked with the various docs in
/usr/share/examples/diskless/

How-To-Repeat: 	man diskless
Comment 1 dd freebsd_committer freebsd_triage 2002-10-02 03:07:11 UTC
State Changed
From-To: open->closed

Committed, thanks!