From setantae@submonkey.net  Fri Nov 16 10:30:19 2001
Return-Path: <setantae@submonkey.net>
Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200])
	by hub.freebsd.org (Postfix) with ESMTP
	id 3360B37B41B; Fri, 16 Nov 2001 10:30:16 -0800 (PST)
Received: from pc3-card3-0-cust122.cdf.cable.ntl.com
	([62.254.251.122] helo=rhadamanth.private.submonkey.net ident=exim)
	by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2)
	id 164nkk-0006fI-00; Fri, 16 Nov 2001 18:30:14 +0000
Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1)
	id 164nih-0009li-00; Fri, 16 Nov 2001 18:28:07 +0000
Message-Id: <E164nih-0009li-00@rhadamanth.private.submonkey.net>
Date: Fri, 16 Nov 2001 18:28:07 +0000
From: Ceri <setantae@submonkey.net>
Sender: setantae <setantae@submonkey.net>
Reply-To: Ceri <setantae@submonkey.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mpp@FreeBSD.org
Subject: kernfs.5 references files that will (probably) never exist
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32042
>Category:       docs
>Synopsis:       kernfs.5 references files that will (probably) never exist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 16 10:40:01 PST 2001
>Closed-Date:    Wed Jan 9 02:32:52 PST 2002
>Last-Modified:  Wed Jan 09 02:35:27 PST 2002
>Originator:     setantae
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD rhadamanth.private.submonkey.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 9 15:26:50 GMT 2001 setantae@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386


	
>Description:
	
man 5 kernfs states that the files root, rootdev and rrootdev should exist
in a kernfs file system, but that they are ``not currently enabled''.
     
I note that kernfs has been removed from -current, so presumably these
will never be enabled.

>How-To-Repeat:

1) To see the files being referenced:
	man 5 kernfs

2) To see that they aren't enabled :
	mkdir /kern && mount_kernfs kern /kern && ls /kern

>Fix:
Apply the patch below :

*** src/share/man/man5/kernfs.5.old	Fri Nov 16 18:20:38 2001
--- src/share/man/man5/kernfs.5	Fri Nov 16 18:21:16 2001
***************
*** 75,93 ****
  The machine pagesize (decimal ASCII).
  .It Pa physmem
  The number of pages of physical memory in the machine (decimal ASCII).
- .It Pa root
- The system root directory.  In a chroot'ed environment,
- .Xr mount_kernfs 8
- can be used to create a new
- .Pa /kern
- mount point.
- .Pa /kern/root
- will then refer to the system global root, not the current
- process root.  Not currently enabled.
- .It Pa rootdev
- The root device.  Not currently enabled.
- .It Pa rrootdev
- The raw root device.  Not currently enabled.
  .It Pa time
  The second and microsecond values of the system clock (decimal ASCII).
  .It Pa version
--- 75,80 ----
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Wed Jan 9 02:32:52 PST 2002 
State-Changed-Why:  
As pointed out by the submitter, kernfs has been removed in -current, 
as well as the corresponding documentation, so this PR can be closed. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32042 
>Unformatted:
