From samy@kerneled.com  Wed Nov 12 06:05:28 2003
Return-Path: <samy@kerneled.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C579D16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 06:05:28 -0800 (PST)
Received: from essence.sdodson.com (67-50-80-104.br1.tbr.ga.frontiernet.net [67.50.80.104])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B994543F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 06:05:27 -0800 (PST)
	(envelope-from samy@kerneled.com)
Received: from beastie.freebsd.local (dial36-173.sbm.net.sa [212.46.36.173])
	by essence.sdodson.com (8.12.10/8.12.10) with ESMTP id hACE52ZU006070
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 2003 14:05:04 GMT
	(envelope-from samy@kerneled.com)
Message-Id: 1068645926@beastie.freebsd.local
Date: Wed, 12 Nov 2003 17:05:34 +0300
From: "Samy Al Bahra" <samy@kerneled.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ps.1 [src/usr.bin/ps/ps.1]: Incorrect /proc information
X-Send-Pr-Version: gtk-send-pr 0.1 
X-GNATS-Notify:

>Number:         59215
>Category:       docs
>Synopsis:       ps.1 [src/usr.bin/ps/ps.1]: Incorrect /proc information
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 06:10:22 PST 2003
>Closed-Date:    Thu Nov 13 15:01:33 CET 2003
>Last-Modified:  Thu Nov 13 15:01:33 CET 2003
>Originator:     Samy Al Bahra
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Kerneled 
>Environment:


System: FreeBSD beastie.freebsd.local 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 20 18:35:24 AST 2003     samy@beastie.freebsd.local:/usr/src/sys/i386/compile/KERNELED i386  


>Description:


The ps man page says that /proc is necessary for
ps to show all appropriate information. This isn't
the case since ps is completely dependant on kvm.
The fix that follows removes these.


>How-To-Repeat:





>Fix:


--- ps.1	Fri Sep 12 14:00:18 2003
+++ /home/samy/development/freebsd/patches/doc/ps.1	Wed Nov 12 17:01:45 2003
@@ -73,12 +73,6 @@
 controlling terminal, cpu time (including both user and system time),
 state, and associated command.
 .Pp
-The process file system (see
-.Xr procfs 5 )
-should be mounted when
-.Nm
-is executed, otherwise not all information will be available.
-.Pp
 The options are as follows:
 .Bl -tag -width indent
 .It Fl a
@@ -543,9 +537,6 @@
 system namelist database
 .It Pa /boot/kernel/kernel
 default system namelist
-.It Pa /proc
-the mount point of
-.Xr procfs 5
 .El
 .Sh SEE ALSO
 .Xr kill 1 ,



>Release-Note:
>Audit-Trail:

From: Christian Brueffer <chris@unixpages.org>
To: Samy Al Bahra <samy@kerneled.com>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/59215: ps.1 [src/usr.bin/ps/ps.1]: Incorrect /proc information
Date: Wed, 12 Nov 2003 16:07:32 +0100

 --JSkcQAAxhB1h8DcT
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Hi,
 
 procfs is still required for the ps -e option, therefore the statement
 in the manpage is correct.
 I don't know about w, but I could imagine it's correct that it needs
 procfs for some options too.
 
 - Christian
 
 --=20
 Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
 GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
 GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
 
 --JSkcQAAxhB1h8DcT
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.2 (FreeBSD)
 
 iD8DBQE/skyzbHYXjKDtmC0RArdIAJ4nNi/zVCIRQbHKPiH3ENCPHVacXgCdGxj0
 jD5QsngMHSEwPlrvdPXbDjY=
 =9mHk
 -----END PGP SIGNATURE-----
 
 --JSkcQAAxhB1h8DcT--
 
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu Nov 13 15:00:53 CET 2003 
State-Changed-Why:  
The submitter has agreed, that ps still needs procfs for 
one of its options. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59215 
>Unformatted:
