[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I'd like to know why kernfs has became deprecated /proc is not mounted by default.
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: Re: I'd like to know why kernfs has became deprecated /proc is not mounted by default.
- From: Martin Schröder <martin_(_at_)_oneiros_(_dot_)_de>
- Date: Fri, 17 Feb 2006 00:25:36 +0100
- Mail-followup-to: tech_(_at_)_openbsd_(_dot_)_org
On 2006-02-16 17:21:30 -0500, Nick Guenther wrote:
> I was under the impression that /proc was a linux thing. Someone
> correct me if I'm wrong.
The UNIX 8th Edition version of /proc was implemented by Tom J.
Killian, who presented a paper titled Processes as Files at
USENIX in June 1984. It was designed in order to replace the
ptrace system call used for process tracing.
Roger Faulkner and Ron Gomes ported V8 /proc to SVr4, and
published a paper called The Process File System and Process
Model in UNIX System V at USENIX in January 1991. This kind of
procfs supported the creation of ps, but the files could only be
access with functions read(), write(), and ioctl().
4.4BSD implemented /proc with subdirectories for each process,
and the ability to access memory, registers, and current status.
Solaris 2.6 /proc (finished in 1996) also had separate directory
for each process, as well as a special ctl file which allowed for
control, tracing and manipulation of processes.
Visit your host, monkey.org