Date: Sun, 14 Nov 2004 19:30:02 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps ps.c Message-ID: <200411141930.iAEJU2I1007666@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2004-11-14 19:30:02 UTC
FreeBSD src repository
Modified files:
bin/ps ps.c
Log:
Currently if the user specifies -e and procfs is not mounted on /proc,
printing of the process environment will fail silently.
-define a function which will check to see if procfs is mounted on /proc
-Implement this test if the user specified -e
-If procfs is not mounted on /proc and -e was specified, print a warning.
informing the user that procfs(5) is required.
Reviewed by: wes, rwatson
Revision Changes Path
1.108 +25 -0 src/bin/ps/ps.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411141930.iAEJU2I1007666>
