Date: Thu, 1 Feb 2007 15:09:08 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Martin McCormick <martin@dc.cis.okstate.edu> Cc: freebsd-questions@freebsd.org Subject: Re: What Happens When /proc is not Mounted in FreeBSD5.4? Message-ID: <20070201200907.GA73713@xor.obsecurity.org> In-Reply-To: <200702011717.l11HHohf046488@dc.cis.okstate.edu> References: <200702011717.l11HHohf046488@dc.cis.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2007 at 11:17:50AM -0600, Martin McCormick wrote: > I made a startling discovery when using strace to > trouble-shoot a different problem on a freeBSD5.4 system that has > been running since last October. Both it and another new 5.4 > system had a /proc mount point but no process files. The mount > point had the May 5 date from 2005 as do most files from that > distribution. >=20 > I mounted /proc the way it is done in fstab for 4.x systems >=20 > proc /proc procfs rw 0 0 >=20 > and there were all the process directories. The only reason I > had done this was because strace won't work without /proc. > Nothing else had seemed wrong and there hadn't been any > compelling reason to look at /proc until now. >=20 > Would an unmounted /proc make the system run slower since > proc files allow for examination of the operation of the running > processes? So basically, I have fixed the problem if it really > was one in the first place. As you have found, proc is almost entirely unused in FreeBSD apart from one or two debugging facilities, and in fact not recommended on multi-user systems because the long history of security vulnerabilities. Kris --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwkjjWry0BWjoQKURAvBPAJ9cL0ezJ7jI6ON0sD0TNbJEM/O+6QCfdv0d NqQ2KhY9fX5XaxkC1D/TAPg= =yxCP -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070201200907.GA73713>