BSD equiv of /proc?

Ceri Davies ceri at submonkey.net
Fri May 5 19:43:09 UTC 2006


On 5/5/06 15:44, "Jeff Rollin" <jeff.rollin at gmail.com> wrote:

> Jeff.
> 
> On 05/05/06, Bill Moran <wmoran at collaborativefusion.com> wrote:
>> 
>> On Fri, 5 May 2006 10:07:03 -0400
>> "Jim Stapleton" <stapleton.41 at gmail.com> wrote:
>> 
>>> I have a proc filesystem on my computer, but it's  empty. I'm used to
>>> linux, where you can do stuff like 'cat /proc/cpuinfo' to get
>>> information about the system. What is the BSD equivalent of this, or
>>> is it /proc, and I'm just missing something?
>> 
>> If you absolutely can't live without /proc, install the linuxulator
>> and mount linproc.  It will give you a linux compatible /proc.

> Will that only work for Linux programs?

It is available to them all (if they know to look in /compat/linux/proc,
which is the canonical place for the linprocfs mount - Linux programs get
redirected there automagically).

I don't know if stuff would break if you mounted a linprocfs at /proc.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                      -- Moliere





More information about the freebsd-questions mailing list