What Happens When /proc is not Mounted in FreeBSD5.4?
kris at obsecurity.org
Thu Feb 1 20:09:20 UTC 2007
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
> I mounted /proc the way it is done in fstab for 4.x systems
> proc /proc procfs rw 0 0
> 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.
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070201/774555fd/attachment.pgp
More information about the freebsd-questions