From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 04:12:50 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4241C16A4CE for ; Wed, 17 Dec 2003 04:12:50 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FE3543D33 for ; Wed, 17 Dec 2003 04:12:37 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hBHCCJTA007098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Dec 2003 12:12:29 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hBHCCI4q007097; Wed, 17 Dec 2003 12:12:18 GMT (envelope-from matthew) Date: Wed, 17 Dec 2003 12:12:18 +0000 From: Matthew Seaman To: flux Message-ID: <20031217121218.GB6325@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , flux , freebsd-questions@freebsd.org References: <1171291996.20031217144207@hotbox.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: <1171291996.20031217144207@hotbox.ru> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: /proc directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2003 12:12:50 -0000 --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 17, 2003 at 02:42:07PM -0800, flux wrote: > What is /proc -directory for in FreeBSD? What kind of data does it > store? How and for what could I use it? It's a filesystem based abstraction of the process table from the kernel. Some programs use it to get information about various processses -- although the important utilities like ps(1) just grovel directly through the kernel memory. Basically you mount it on your system, which lets a bunch of stuff work properly, and you then ignore it for ever more. Unless you're particularly concerned about security, in which case, you don't mount it and do without the stuff that needs it to run. Note that mounting the /proc directory is only a risk in the eyes of the most utterly paranoid administrators. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/4EgidtESqEQa7a0RAieOAJ9Pr3/vWeh1N9W0ZUeTtYE21j2c2QCghuWO 1Fl/Xt3NhZXt7UTUhfGwWvI= =/2bj -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1--