Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 12:12:18 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        flux <flux@hotbox.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /proc directory
Message-ID:  <20031217121218.GB6325@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <1171291996.20031217144207@hotbox.ru>
References:  <1171291996.20031217144207@hotbox.ru>

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

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031217121218.GB6325>