Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 18:28:07 +0000
From:      Ceri <setantae@submonkey.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        mpp@freebsd.org
Subject:   docs/32042: kernfs.5 references files that will (probably) never exist
Message-ID:  <E164nih-0009li-00@rhadamanth.private.submonkey.net>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 16 10:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E164nih-0009li-00>