From owner-cvs-all@FreeBSD.ORG Sun Nov 14 19:30:02 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C56C316A4CE; Sun, 14 Nov 2004 19:30:02 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A082143D31; Sun, 14 Nov 2004 19:30:02 +0000 (GMT) (envelope-from csjp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iAEJU244007667; Sun, 14 Nov 2004 19:30:02 GMT (envelope-from csjp@repoman.freebsd.org) Received: (from csjp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iAEJU2I1007666; Sun, 14 Nov 2004 19:30:02 GMT (envelope-from csjp) Message-Id: <200411141930.iAEJU2I1007666@repoman.freebsd.org> From: "Christian S.J. Peron" Date: Sun, 14 Nov 2004 19:30:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/ps ps.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 19:30:02 -0000 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